You have to use a WAV file or the MessageBeep Win32 API function (which will play one of the standard sounds specified in Control Panel).
Beside that, here is a quote from the Help file for SET BELL command:
"If you specify a waveform or system alert sound, you must also include nDuration. A syntax error occurs if you omit the duration value. The duration value you specify is ignored and the entire waveform or system alert sound is played."
I would really like to understand the logic of this text! :))
Vlad
>In all earlier versions of FoxPro for DOS issuing ?? CHR(7) gave an audible and attention grabbing DING! In VFP issuing the same thing gives a wimpy tick. If I SET BELL TO 'C:\WINDOWS\DING.WAV",1 this works fine for machines with sound cards.
>
>How do I create a more audible and attention grabbing DING! for users without sound cards?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only