maby this will do: http://www.planetsourcecode.com/vb/s...3215&lngWId=10
I have already posted about this topic, but I need some further assistance. I am writing a front-end in VB.net and want DVD playback. A simple task, I thought to myself. Just download the WMP SDK, and use it with VB.....
After installing the SDK, I wrote a small bit of code and got it to play a DVD, giving me info on what chapter, title etc. was being played. Brilliant I thought, but every so often it would crash and restart the computer. I have read a lot of posts about WMP being unstable and not a good choice for DVD playback, quite a lot of people reckon that DirectX 9 (DirectShow) is better. I have searched everywhere and don't understand how to use DirectShow in a VB application.
i have been programming VB.net for about 4 months, and have managed most stuff, windows messages to Winamp, Creating playlists and custom list boxes, but I am stuck when it comes to DirectX...
Please can someone post me a link to a sample DirectX DVD player using VB.net, it would be very much appriciated.
Also, what do you think the best way to incorperate CD playing into a front-end, Winamp, WMP, DirectShow???
Thanks for the link, but I can't get it to play a DVD. I also wrote a bit of code to use MSWebDVD, and it doesn't recognise any DVD in any drive. Stange. Also, I've read that it won't allow you to play a DVD of a hard drive, I wish WMP worked properly, I have all the functions for it working (when it decides to work), but mostly crashes!!!
Edit: Right, sorted out why WMP crashes, something to do with my nVidia drivers. Anyway, I now have a new problem
WMP plays a DVD fine, but the embedded WMP only plays the sound, no video, what is going on. I've tried everything???
I you know C# then this is the way to do advaced video/DVD in .NET, you can use the DirectShow library in VB.NET but I'm not sure if thre is any code examplen in VB included, you can always port the C# to VB.