I used to use the following way to play sound files in VFP3. It is perfectly OK. But when I update to VFP8, the old codes give no sound at all.
SET BELL TO abc.wav
?? CHR(7)
SET BELL TO
One strange thing I have observed is that it fails to give sound only if there is a FORM running (after DO FORM xxxx). Without any form, it can still play the sound file. I have search the online documents but it doesn't give me any hint.
Of course I am using _soundplayer now to play sound in VFP8 but the effect is BAD. The sound cannot synchronise with the picture frequently. This never happens when I use the old method in VFP3.
SET BELL TO abc.wav
?? CHR(7)
SET BELL TO
One strange thing I have observed is that it fails to give sound only if there is a FORM running (after DO FORM xxxx). Without any form, it can still play the sound file. I have search the online documents but it doesn't give me any hint.
Of course I am using _soundplayer now to play sound in VFP8 but the effect is BAD. The sound cannot synchronise with the picture frequently. This never happens when I use the old method in VFP3.