Hi Victor,
You are correct, but the built-in VFP sound playing process is very timid and will not grab the appropriate WAV device away from another application. Hence, it is often the case that ?? CHR(7) produces no sound.
>You don't need an API call to play a WAV file ASYNC. Just to the following code:
>
>SET BELL TO "Windows NT Logoff Sound.wav"
>? CHR(7)
>
>CHR(7) is an ASYNC command within VFP
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.