Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with set bell command
Message
 
À
10/01/2006 06:02:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01085060
Message ID:
01085088
Vues:
35
This message has been marked as a message which has helped to the initial question of the thread.
>it could be ok, but I newver tried it.
>Is it the same of the chr(7) ?
>I mean, have I to declare each time I have to play a sound ?
>I have the chr(7) in many methods of the form....
>
>>What about:
>>
>>
>>DECLARE INTEGER sndPlaySound IN winmm;
>>  STRING lpszSound, INTEGER fuSound
>>#DEFINE SND_SYNC       0
>>#DEFINE SND_ASYNC      1
>>#DEFINE SND_NODEFAULT  2
>>sndPlaySound(WaveFileName, SND_SYNC + SND_NODEFAULT)
>>
No you must declare it once, but first try it to see if it works :o). BTW did you have somewhere SET BELL OFF? Maybe this cause the problem, but if with debuger works?
I don't know, never wants to play a WAV in my application.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform