Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making sounds
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015147
Message ID:
01015184
Views:
18
Michael,

Look at using the sndPlaySound API call, there is example code over on my website under Q&A, General.

>I have been trying to use the following to make sounds:
>
>SET BELL ON
>SET BELL TO "C:\myfile.wav"
>?? CHR(7)
>
>This code works in the command window and if I put the code into a form and run the form by itself. Once I compile the form into an EXE, it stops working.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform