DVD playback in VB.net
-
I am trying to write a DVD player in VB.net I have used the WMP SDK and embedded WMP in a VB application. I can open an mpg file, avi etc, but when I load a dvd 'VIDEO_TS.ifo' file into the embeded WMP it plays, but without sound. Here is the code I use to load the DVD into WMP: OpenFileDialog1.ShowDialog() If OpenFileDialog1.FileName <> Nothing Then file = OpenFileDialog1.FileName AxWindowsMediaPlayer1.URL = file End If As I said before, the sound is heard, but no video is shown. :confused:
-
I am trying to write a DVD player in VB.net I have used the WMP SDK and embedded WMP in a VB application. I can open an mpg file, avi etc, but when I load a dvd 'VIDEO_TS.ifo' file into the embeded WMP it plays, but without sound. Here is the code I use to load the DVD into WMP: OpenFileDialog1.ShowDialog() If OpenFileDialog1.FileName <> Nothing Then file = OpenFileDialog1.FileName AxWindowsMediaPlayer1.URL = file End If As I said before, the sound is heard, but no video is shown. :confused:
Does it play just using Windows Media Player?? Don't use your application to try and play it, just launch WMP.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Does it play just using Windows Media Player?? Don't use your application to try and play it, just launch WMP.
Dave Kreskowiak Microsoft MVP - Visual Basic
Yes, WMP works fine Confusing....!