Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSComm and Windows
Message
De
24/08/1999 07:42:31
 
 
À
23/08/1999 15:29:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00256698
Message ID:
00256967
Vues:
22
Hi Ed,

I tried turning it off with the "ATM0" command (L0 doesn't exist in the documentation, it's M0 that turn the speaker off). It work (the speaker doesn't make any sound thereafter), but the modem won't execute the next line (connect) until I remove the ATM0 line.

Here is the lines of code:
THIS.ModemComm.Output = "ATM0" + CHR(13) && Turn off the speaker
THIS.ModemComm.Output = "ATDT" + ALLTRIM(THIS.PhoneNb) + CHR(13) && Dial

In the Control Panel|Modem, I have set my modem as silent. When I dial in to the internet, it doesn't make a sound, but when I use the MSComm object, it ignore completly the configuration in the Control Panel and use the speaker.

So, I'm searching for a way to:
- Make MSComm respect the configuration of the modem in the Control Panel, or
- Find a way to turn off the speaker that work reliably on any modem

TIA

>You might try turning off the modem speaker in the default reset for the modem (I don't know the specific sequence for the USR, but USR is pretty good about documenting this.) It's going to vary from modem to modem, so any solution that you find is probably going to break when youy go to a different mfr/model...
>
>As I remmeber, you use ATL0 to turn the speaker off, or to minimum volume, on the USR modems.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform