Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing more than one WAV file
Message
 
 
To
27/04/1998 09:42:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095112
Message ID:
00095140
Views:
22
Luis,

Use the API
declare integer sndPlaySound in winmm.dll string cSoundName, integer uFlags

x="C:\WIN95\MEDIA\The Microsoft Sound.wav"
sndPlaySound( x, 16 ) && delay till finished
sndPlaySound( x, 17 ) && asynchronous


>I need to play a sequence of WAV files.
>
>set bell to "1.wav",0
>?? chr(7)
>set bell to "2.wav",0
>?? chr(7)
>set bell to "3.wav",0
>?? chr(7)
>
>The problem is how can I force the second wav file only plays after the fisrt is completed.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform