Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with .wav file
Message
From
12/07/2002 09:27:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Problem with .wav file
Miscellaneous
Thread ID:
00677972
Message ID:
00677972
Views:
55
I'm trying to modify the bell sound by using the command:

set bell to "error.wav"

I am using this in a form if there is an error in a specific field.

If I run the form from the project manager, it works fine.

I have a menu where a menu item is the command
"do form process"
If I run the menu from the project manager, then select the form from the menu, the form works fine.

I Have a start program that sets a number of parameters and logs the user in. If I run that program to put the menu up on the screen, then access the form from the menu, the bell sound is the default, not my wave file.

Near the end of my startup program I run my login form. If login is successful, I do a read events. I put the bell sound just before the read events, and it will work fine. Once the read events has processed, the .wav file no longer works.

To ring the bell, I am using

set bell to "error.wav"
set bell on
?? chr(7)
set bell to

Any thoughts to what might be happening.
Next
Reply
Map
View

Click here to load this message in the networking platform