| Author |
Topic Search Topic Options
|
PrivateEye
Groupie
Joined: 21 March 2003
Location: United Kingdom
Status: Offline
Points: 168
|
Post Options
Thanks(0)
Quote Reply
Topic: Video Player in VB 6.0 Posted: 20 March 2005 at 1:56pm |
|
I want to develop (or get a control from anywhere) a video player in
visual basic which can play video file (Dat, Mpeg etc.) from the exact
location where it stoped when the player is shut down. Any help is
appreciated.
|
|
The Judgement Day
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 2:38pm |
|
Just use the windows media player control, it's called "Windows Media Player"... just add it to your toolbox then drag and drop
|
 |
PrivateEye
Groupie
Joined: 21 March 2003
Location: United Kingdom
Status: Offline
Points: 168
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 3:07pm |
|
Wel if I add Windows Media Player control, it do not play song right from the location I closed the form. Any other idea?
|
|
The Judgement Day
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 3:32pm |
|
You have to set the URL property and tell it to play first...
|
 |
PrivateEye
Groupie
Joined: 21 March 2003
Location: United Kingdom
Status: Offline
Points: 168
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 4:22pm |
|
I am not playing the song from any URL, I am playing it from local
hoard disk, and I mean to say that if the song is of length 10 minutes
and after 5 minutes if I close the application, the song should be
played from 5 minutes when I restart the application and not from 0.00
seconds. Anyone understand ?? pls help
|
|
The Judgement Day
|
 |
Bluefrog
Senior Member
Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 4:47pm |
|
You can do it with the WMP control. But you need to do that stuff
programmatically. If you want really good stuff, you need Lead Tools.
Remember that with WMP, some formats/encodings cannot be played from any point - some can only be played from beginning to end.
|
|
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 5:13pm |
|
You still set the URL property.... it doesn't make a difference whether its http:// or just a path like C:\mysong.mp3
|
 |
PrivateEye
Groupie
Joined: 21 March 2003
Location: United Kingdom
Status: Offline
Points: 168
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2005 at 5:45pm |
Bluefrog wrote:
You can do it with the WMP control. But you need to do that stuff
programmatically. If you want really good stuff, you need Lead Tools.
Remember that with WMP, some formats/encodings cannot be played from any point - some can only be played from beginning to end.
|
I am playing .dat files and I know that it will be done through
programming and this is what I need help for. also what you mean by
Lead Tools?
|
|
The Judgement Day
|
 |