How to play ssound (or media)...
1. by using Windows Media control in C#?
2. WITHOUT using control
Help will be great appreciated
Printable View
How to play ssound (or media)...
1. by using Windows Media control in C#?
2. WITHOUT using control
Help will be great appreciated
2) Multimedia support was left out in the .Net framework. Apparently MS wants users to rely on DirectX 9 for multimedia, so you have to use DirectShow or DirectAudio.
er ... ok...? but how :S
and there are some other questions relating to this issue...
I. If it's possible (well i think it is) to control a) system volume b) Windows media player volume with C#
II. How to shut down Windows Media Player with C#? (And/or maybe shut down some other programs with C#, too)
Thank you so much again for the help
Download the Managed DirectX SDK from Microsoft. Quite a large download, be warned.
Then see the examples on how to use DirectShow to play a simple sound file.
You can control system volume with DirectSound or the API, and I suppose you can control media player volume (if there's a difference) via the media player control.