Is there any control i could use that will accept a path to a folder holding dvd files and play them ?
thanks.
Printable View
Is there any control i could use that will accept a path to a folder holding dvd files and play them ?
thanks.
What are your file's format? If your trying to play DVDs then you need a DVDROM and graphics car that supports it. Alos, DVD player software, usually bundled with the graphics card but you can possibly find a free one for download.
The files are .vob, .ifo, .bup.
i have just tried the mswebdvd component and i can get it to play of my C: drive by supplying the path to the folder holding the files only if there is a dvd disk in the dvdrom at the same time. Is there any way of fooling it into thinking there is a disk in the dvdrom or another way around it ?
thanks.
DVD's are specially formatted disks that have coded information in Track 0. I don't think that there is a way to do it. You can download DivX, which can play files that have been converted to DivX format. I haven't found the encoder, and even transferred a DVD to my drive, hoping that it would play, but I had to delete it. I couldn't even get it to burn on my server. Track 0 wasn't present.
Probably your best bet is to do some type of conversion of the DVD to a mpeg or other video file type. Then play the file aas any other vidoe file.
You can use the Windows Media Player to play DVD files on your hard disk.
Download the WMP 10 SDK, it comes with a VB example of playing DVD files
The example is discussed here
http://msdn.microsoft.com/library/de...isualbasic.asp
I haven't tried it yet or I would have written you a simple demo and claimed it was all my work:)
DirectShow can play DVD's, and many other media types, like mpeg, avi, mp3, etc. Matter of fact, the DirectX8 SDK has a couple examples in VB to play DVD's. Not sure if the Windows Media Player control or any other media API can play DVD's though. Never seen it done except on other software, but not sure if they used DirectShow.Quote:
Originally Posted by user name