Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable instead of wav file
Message
De
09/03/2010 23:43:26
 
 
À
09/03/2010 17:36:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01453613
Message ID:
01453663
Vues:
64
>>>Is it possible to feed a variable to SET BELL instead of a WAV file? I'd like to store the WAV files in a table and use one without first writing it to the disk.
>>
>>No, SET BELL works with files only.
>
>Yes, I know... I actually meant: Is there some API function. But I have already decided to stick to the traditional way of loading a wav-file.
>
>Thanks :)
How about
cWav = "c:\vfp9\sounds\mysound.wav"

or

cWav = Alltrim(MyTable.Mysound) && mysound is a field that stores the FULL Path to the wav
SET BELL TO (cWav)
?? CHR(7)
This works for me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform