Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing WAVs
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Playing WAVs
Miscellaneous
Thread ID:
00713588
Message ID:
00713588
Views:
61
I'm playing .WAV files thru:

set bell to "mywav.wav"
??chr(7)

This works fine, then if I include this file in the project in order to have it in the distributable .EXE file, when i run the .EXE file it seems not to find the file inside the .EXE. If I place the .WAV file the running directory the .WAV plays fine.

So it seems that the .WAV file has to exist fisicaly in the hard disk in order to be played. Is this right or am I missing something?

Some thing else, is there a way to play two WAVs secuentialy?.

If I go:

set bell to "mywav1.wav"
??chr(7)
set bell to "mywav2.wav"
??chr(7)

the "maywav1.wav" does not get played or it does but the 2nd stops playing the 1st one even before to start playing. Any suggestions?
Jorge Flores
From the Amigo Country
Next
Reply
Map
View

Click here to load this message in the networking platform