Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable instead of wav file
Message
From
10/03/2010 02:47:23
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01453613
Message ID:
01453668
Views:
67
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

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform