?
Solved

Play system audio sound

Posted on 2006-07-20
3
Medium Priority
?
241 Views
Last Modified: 2012-05-05


In VB.NET, playing a system sound is easy. Is there an easy way to do this in C#?

This is how it is done in VB.NET:
My.Computer.Audio.PlaySystemSound(Media.SystemSounds.Exclamation)




0
Comment
Question by:brokeMyLegBiking
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
apresto earned 2000 total points
ID: 17145719
Hi brokeMyLegBiking,

http://blogs.msdn.com/csharpfaq/archive/2006/03/27/562557.aspx

i.e
System.Media.SystemSounds.Beep.Play();

Apresto
0
 
LVL 4

Author Comment

by:brokeMyLegBiking
ID: 17146949
great, thanks I like an easy solution.
0
 
LVL 23

Expert Comment

by:apresto
ID: 17146977
Me too :o)

THanks

apresto
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

777 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