By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,455 Members | 1,385 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,455 IT Pros & Developers. It's quick & easy.

Making a true Beep

P: n/a
Hi,
I want to make a beep (like MS-DOS beep, not a beep from sound-card).
How to do that ?
Thanks
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Hoang,

Maybe you could try to do a PInvoke to the Beep() API in
kernel32.dll.

[DllImport("kernel32.dll")]
public static extern bool Beep(Int32 freq, Int32 duration);
Regards,
Aravind C
"Hai Ly Hoang" <No*****@Mail.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
Hi,
I want to make a beep (like MS-DOS beep, not a beep from sound-card).
How to do that ?
Thanks

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.