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:
00507284
Views:
13
Hi Victor,

You are correct, but the built-in VFP sound playing process is very timid and will not grab the appropriate WAV device away from another application. Hence, it is often the case that ?? CHR(7) produces no sound.

>You don't need an API call to play a WAV file ASYNC. Just to the following code:
>
>SET BELL TO "Windows NT Logoff Sound.wav"
>? CHR(7)
>
>CHR(7) is an ASYNC command within VFP
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform