>Declaring PlaySound in winmm.dll is probably the easiest way to play any .wav in VFP ...
>>What is the easiest way to add simple sounds (wavs) to an application in FoxPro 6? Thanks!
There's also the combination of
set bell to the.wav
?chr(7)
But then, using ? will show a cursor in a wrong place. Wait chr(7) nowait also works. This sound will also be heard on any user error, when validation fails and set("bell")="ON".