I need help with my VB6 app. I have a form with a reference to wmp.dll (Windows Media Player 9 ocx). I can play many file extensions like Mpg mpeg , avi, qt and others, but I want to play dvd files. I'm using the following code:.
wmp.url = "D:\VIDEO_TS\VTS_01_0.VOB"
This command work in all files, but not for DVD files.
I've also tried using:
commondialog1.showopen
wmp1.url=commondialog1.filename
wmp1.controls.play
This doesn't work.
The only function that works is:
wmp1.showplayer(url as string)
But this shows the media player object, and plays the file. I want to see the movie in my form not in the mediaplayer.
Can some body help me? Thanks so very much.
(I'm from Argentina and speak little English, so please excuse me all.)