Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I 'ring' the PC's internal speaker?
Message
De
06/10/2005 11:45:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/10/2005 10:49:25
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01056765
Message ID:
01056800
Vues:
36
>I am trying to make the internal PC speaker beep by issuing ?? CHR(7). It does not seem to work for me. My PC has a soundcard (or perhaps its built into the MB) but I don't have external speakers attached so I want to use the internal one.
>
>Does anyone know how to do this?
>
>Regards,
>
>Mike

Mike,
Can you hear sounds form other applications and for when you make an error or say put up a messagebox? (I mean does your sound is already working?)
If it's working then
?? chr(7)
works. However be sure 'set console off' is not called. ie:

set console on
?? chr(7)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform