>Hi Claude,
>
>Because no-one yet given you the API call for that :)
>
>if you need the standard beep:
>
>DECLARE Beep in Win32API
>Beep()
>
>and if you have to play a WAV file:
>
>Declare PlaySound in WinMM.Dll String, Integer, Integer
>PlaySound( lcFile,0,0x00020000)
>
>BTW, this is a known bug in VFP 6.
>
Hi Christof,
Actually, that should be:
DECLARE Beep IN Win32API;
INTEGER dwFreq, INTEGER dwDuration
Beep(0, 0)
Under Win9x the parameters are ignored, and the default sound is played. Under NT dwFreq shoud be a value between 37 and 32,767 specifying the frequency in hertz. dwDuration specifies the duration in milliseconds.
George
Ubi caritas et amor, deus ibi est