Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing more than one WAV file
Message
 
 
À
27/04/1998 09:42:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00095112
Message ID:
00095140
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform