• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

Play system audio sound



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
brokeMyLegBiking
Asked:
brokeMyLegBiking
  • 2
1 Solution
 
aprestoCommented:
Hi brokeMyLegBiking,

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

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

Apresto
0
 
brokeMyLegBikingAuthor Commented:
great, thanks I like an easy solution.
0
 
aprestoCommented:
Me too :o)

THanks

apresto
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now