Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System sounds
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00151382
Message ID:
00153086
Vues:
19
>>Hi Dave
>>Using set bell you can't call it again until it finishes playing.
>>Two answers.
>>1/Determine the length of the sound and wait in code the same period of time ( a real PITA, but that's what I did for an sound rich app)
>>2/Use shellexecute API to play it via some other app.
>>The duration parameter is essential, but ignored by Fox.
>>HTH
>
>Well, that was way to simple...
>on a PII 266 I only have to loop 35,000 times to space out the bells
>now I only have to make 3 variations to cover the customers 6 workstations
>2 PII 266, 3 200. and 1 166.
>Thanks I would have been there a few more days...

?? chr(7)
t1= seconds() + m.wav_length && seconds length of wav file
do while seconds() < m.wav_length
enddo
* play next sound
* works on all machines
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform