Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to play sounds in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00474565
Message ID:
00474650
Views:
41
Paul,

If you really want to get fancy...

DECLARE integer sndPlaySound in winmm.dll string cSoundName, integer nmode

Then

sndPlaySnd("c:\windows\media\chimes.wav",17)

The 17 is asynchronous (sp?) Program keeps executing
a 16 is synchronous program waits
and a 4 in there will stop the currently playing sound

I think.. Play in the command window and see...
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Previous
Reply
Map
View

Click here to load this message in the networking platform