Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing a WAV file in the init() Method
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00499683
Message ID:
00499702
Views:
15
>>How can I play a .WAV file in the init method of a form??
>
>set bell to 'wavfile.wav'
>??chr(007)
>
>>I want to make sure the users is looking the the form when it is displayed
>
>Then you need much more tahn a sound :)

Just tried that, but can´t have it working. Any other idea or am i doing something wrong? This is the code I placed in the init method:

SET BELL TO 'c:\sounds\wavfile.wav'
??chr(007)

I´m sure that with the WAV file i choosed, the user will be looking at the form. :)
Like Frank said: "I did it... MY WAY!"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform