Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
?? chr(7) and Command button pictures
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00198543
Message ID:
00201402
Vues:
16
>Hi Claude,
>
>Because no-one yet given you the API call for that :)
>
>if you need the standard beep:
>
>DECLARE Beep in Win32API
>Beep()
>
>and if you have to play a WAV file:
>
>Declare PlaySound in WinMM.Dll String, Integer, Integer
>PlaySound( lcFile,0,0x00020000)
>
>BTW, this is a known bug in VFP 6.
>
Hi Christof,

Actually, that should be:
DECLARE Beep IN Win32API;
  INTEGER dwFreq, INTEGER dwDuration
Beep(0, 0)
Under Win9x the parameters are ignored, and the default sound is played. Under NT dwFreq shoud be a value between 37 and 32,767 specifying the frequency in hertz. dwDuration specifies the duration in milliseconds.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform