|
-
May 13th, 2003, 05:25 PM
#1
Thread Starter
Member
Play Sounds/Media in C#
How to play ssound (or media)...
1. by using Windows Media control in C#?
2. WITHOUT using control
Help will be great appreciated
-
May 14th, 2003, 08:13 AM
#2
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 14th, 2003, 04:49 PM
#3
Thread Starter
Member
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
-
May 15th, 2003, 09:35 AM
#4
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|