467,074 Members | 897 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

How to "Beep"

Hi,

Can anybody tell me how to play a "beep" sound or any other sound at all in
C#?
I thought it would be easy but I have been searching up and down....

Thanks a lot.

Best regards,
Yee
Nov 16 '05 #1
  • viewed: 3447
Share:
4 Replies
APG
YeeCN wrote:
Hi,

Can anybody tell me how to play a "beep" sound or any other sound at all in
C#?
I thought it would be easy but I have been searching up and down....

Thanks a lot.

Best regards,
Yee

Hi,

Here are some old links on this in the NGs.

http://groups.google.com/groups?hl=e...%40tkmsftngp05

http://groups.google.com/groups?hl=e...40TK2MSFTNGP12

HTH,
APG
Nov 16 '05 #2

This is pretty simple as in old C.

System.Console.Write("\a");

Just for a single beep in console application.

Simplicity is maintained :-)

--
Cheers,
Rahul Anand
-----Original Message-----
Hi,

Can anybody tell me how to play a "beep" sound or any other sound at all inC#?
I thought it would be easy but I have been searching up and down....
Thanks a lot.

Best regards,
Yee
.

Nov 16 '05 #3
Hi I have a simple example here
http://www.publicjoe.f9.co.uk/csharp/snip/snip001.html

Hope this helps

Publicjoe
C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
"YeeCN" <Xn************@pd.jaring.my> wrote in message
news:#C**************@TK2MSFTNGP09.phx.gbl...
Hi,

Can anybody tell me how to play a "beep" sound or any other sound at all in C#?
I thought it would be easy but I have been searching up and down....

Thanks a lot.

Best regards,
Yee

Nov 16 '05 #4
There's a beep function in VB and you can using the Interaction library
tocall it. You can also use the PlaySound api pointing to the beep wav
file.
"YeeCN" <Xn************@pd.jaring.my> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

Can anybody tell me how to play a "beep" sound or any other sound at all in C#?
I thought it would be easy but I have been searching up and down....

Thanks a lot.

Best regards,
Yee

Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Tim Marshall | last post: by
4 posts views Thread by BerkshireGuy | last post: by
22 posts views Thread by campbellbrian2001@yahoo.com | last post: by
42 posts views Thread by usenet@isbd.co.uk | last post: by
2 posts views Thread by Simon Wigzell | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.