Just found out the hardway that there is no longer support for Direcshow for VB.net and C#. Does anyone know other ways of playing mp3s in VB.net, or even video for that matter? Thanks in advance.
Printable View
Just found out the hardway that there is no longer support for Direcshow for VB.net and C#. Does anyone know other ways of playing mp3s in VB.net, or even video for that matter? Thanks in advance.
WMP or some third-party media component or else the Windows API via mciSendString.
Just like in vb6.....hmmmm
Unfortunately.
Have a look here if it helps.
http://www.vbforums.com/showthread.php?t=638996
I've never used it but there is XNA. I believe that it's basically a wrapper around DirectX, although there may be more to the story than that. That said, I'm not sure it's of use if you want to integrate music into a business app. I think that you have to create an XNA application rather than being able to reference some XNA library or libraries in a WinForms app or the like. It may be worth a bit of a search though.
Thanks for your help guys.
I just did a quick search and found some examples of using XNA in WinForms. The couple I looked at focused on graphics but I'd imagine that sound would be handled similarly.
No XNA is strictly graphics and maybe sound, just like DirectX. Never used XNA for sound before anyways. But I highly doubt Mp3s are the sounds you can play. Just wavs.