Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing a WAV file in the init() Method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00499683
Message ID:
00507284
Vues:
12
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform