Every since the release of of Windows 95 and VisualFoxPro, direct access to the PC Speaker is no longer supported. You will have to use wave files or C++ programming.
David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
Declare long Beep IN WIN32API long dwFreq, long dwDuration
=Beep(1500,100)
=Beep(1500,1000)
=Beep(3000,100)
Where:
· dwFreq
Windows NT:
Specifies the frequency, in hertz, of the sound. This parameter must be in the range 37 through 32,767 (0x25 through 0x7FFF).
Windows 95:
The parameter is ignored.
· dwDuration
Windows NT:
Specifies the duration, in milliseconds, of the sound.
Windows 95:
The parameter is ignored.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.