>I need to duplicate the ?CHR(7) BEEP that operates in 2x the same way in VFP. There are no speakers so I can't use a WAV. When the 2x program runs, the error message sends a beep alerting the user, but VFP seems to ignore ?CHR(7).
>
>Is there a way to do this?
Or you could go the more flexible route and do:
decl integer Beep in win32api integer,integer
?Beep(nFreq,nDuration)
where nFreq is the frequency in Hz (37 through 32,767)
and nDuration is the duration in milliseconds
From MSDN library
Remarks
Windows 95: The Beep function ignores the dwFreq and dwDuration parameters. On computers with a sound card, the function plays the default sound event. On computers without a sound card, the function plays the standard system beep.
Rip Ryness
International Falls, MN