Making a true Beep

  • Thread starter Thread starter Hai Ly Hoang
  • Start date Start date
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
 
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
 
Back
Top