Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I play a WAV file?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00016309
Message ID:
00016320
Views:
36
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform