Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I play a WAV file?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00016309
Message ID:
00016320
Vues:
51
>>>I wanted to play a "click" sound, or rather a click WAV file whenever the user clicks on a certain button. I know I've got to do it within the Click event but how do I play a WAV file?
>>>
>>>Ben
>>You can include this in Click event:
>>SET BELL TO 'C:\WINDOWS\DING.WAV', 0
>>?? CHR(7)
>>

>>For more details look at VFP help for SET BELL command.
>>
>>Nick
>
>thanks -- i knew i was forgetting something...

No problem, Dave - you are welcome! :)
Happy New Year!

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform