[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

EASY: Play sound in C# Windows app.

Posted on 2003-11-15
2
Medium Priority
?
425 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 1000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Loops Section Overview
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month17 days, 17 hours left to enroll

830 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