Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modems
Message
De
13/07/2000 18:32:51
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
13/07/2000 15:37:53
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Modems
Divers
Thread ID:
00392011
Message ID:
00392116
Vues:
20
Hi Paul,

Use the MSComm ActiveX control. Specify the COM port and its settings. Send the command "ATZ" + chr(13). You should wait up to 2 seconds for a response (which should be "OK")

You can use this control to poll a number of COM ports to find out which, if any, have a modem attached (and switched on).

HTH

Liam




>Hi,
>
>Has anyone got any idea how I can test if a modem is plugged into a COM port and is turned on?
>
>Regards
>
>Paul Robinshaw
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform