visual basic sounds

  • Thread starter Thread starter John S. Ford, MD
  • Start date Start date
J

John S. Ford, MD

I'm familiar with the beep function but is there any function that enables
you to cause a beep with a specific pitch and duration in the computer's
speaker?

John
 
On NT platforms, you can call the Win32 Beep function (use P/Invoke). This
takes 2 DWORDs, the frequency (Hz), and the duration (miliseconds).
-mike
MVP
 
Back
Top