Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with .wav file
Message
De
12/07/2002 09:27:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Problem with .wav file
Divers
Thread ID:
00677972
Message ID:
00677972
Vues:
56
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform