Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I play a WAV file?
Message
 
To
02/01/1997 04:12:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00016309
Message ID:
00016317
Views:
34
>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
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
Next
Reply
Map
View

Click here to load this message in the networking platform