Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable instead of wav file
Message
De
12/03/2010 18:59:47
 
 
À
10/03/2010 02:47:23
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:
01454274
Vues:
47
>
>lcSound=FileToStr(Home(1)+'\gallery\media\chimes.wav') && lcSound can get its data from a field or some other storage, this is just an example
>declare integer sndPlaySound in WINMM.dll STRING lcWaveFile,INTEGER lnFlag
>=sndPlaySound(lcSound, 17 )
>
>Update: Seems not to work with all files

I confirm this. :-)

>>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.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform