Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bell wont sound
Message
From
17/05/2008 16:54:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01317876
Message ID:
01317877
Views:
10
Try the whole path:

lcWavFile = "c:\windows\media\ringin.wav" && or whatever the path is to the file
SET BELL TO (lcWavFile)
?? CHR(7)

According to help, you can point to the windows media directory using:

SET BELL TO (ADDBS(GETENV('windir')))+"MEDIA\RINGIN.WAV"
?? CHR(7)


>Hi.
>Following command works fine on my PC:
>SET BELL TO 'ringin.wav'
>?? chr(7)
>
>I copied Ringin.wav to another PC and ran this but no bell sounds
>I checked usual(e.g. Sounds in Control Panel ) and seems ok
>
>Any ideas of what could be wrong ?
>Regards.
>Gerard
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform