Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable instead of wav file
Message
From
12/03/2010 18:59:47
 
 
To
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:
01454274
Views:
46
>
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform