Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to play sounds in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00474565
Message ID:
00474650
Vues:
47
Paul,

If you really want to get fancy...

DECLARE integer sndPlaySound in winmm.dll string cSoundName, integer nmode

Then

sndPlaySnd("c:\windows\media\chimes.wav",17)

The 17 is asynchronous (sp?) Program keeps executing
a 16 is synchronous program waits
and a 4 in there will stop the currently playing sound

I think.. Play in the command window and see...
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform