Solved

EASY: Play sound in C# Windows app.

Posted on 2003-11-15
2
407 Views
Last Modified: 2012-08-13
How can I play wav file or some other audio file from C# program?
0
Comment
Question by:glowas
2 Comments
 
LVL 10

Accepted Solution

by:
smegghead earned 250 total points
ID: 9756930
0
 
LVL 5

Expert Comment

by:Divinity
ID: 9763129
You could download the DirectX SDK and simply use DirectSound. With DirectSound you can play sound in just 1 or 2 lines of code. And SDK includes a couple of examples that show you exactly how to use DirectSound.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question