Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement