Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modems
Message
From
13/07/2000 18:32:51
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
13/07/2000 15:37:53
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Modems
Miscellaneous
Thread ID:
00392011
Message ID:
00392116
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform