|
-
December 9th, 2009, 08:43 PM
#1
How do I play an audio file?
(Please note that I extended the question in post #5!)
Hello,
I am new to the board and new to C#. I installed MS Visual C# '08 EE and got started with some ideas I had. Everything went way better than I expected and I already managed to realise some things that I thought would take me ages.
I have an idea for a rather simple programme. I wrote all the basic stuff already but one of the crucial parts of the programme is that it has to play sounds.
That is, I'll have a folder with several sounds files (mp3's) that should be played when I press a corresponding button.
As I said, I am using Visual C# and have created a Form already. That Form has several buttons which I now want to link to some kind of "play sound file X" function. And, to be honest, I have no idea how to do that.
I used google to find an answer but couldn't find anything that made sense to me. Could someone point me in the right direction and give a newbie-friendly explanation?
All help is gratefully received!
Thank you very much in advance and have a nice day!
Last edited by TryingToC#; December 16th, 2009 at 07:42 PM.
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
|