Making a true Beep

H

Hai Ly Hoang

Hi,
I want to make a beep (like MS-DOS beep, not a beep from sound-card).
How to do that ?
Thanks
 
A

Aravind C

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Beep() does not work! 10
continuous BIOS beep 2
Beep from PC speaker 2
Capturing key event and remove beep! 2
Default Beep 3
Beep Not Working 7
Make a Beep 3
How to stop my beep? 3

Top