| View previous topic :: View next topic |
| Author |
Message |
Inspyre Newbie

Joined: 24 Nov 2002 Posts: 4 Location: Always in VDS
|
Posted: Mon Nov 25, 2002 4:48 pm Post subject: Modem Blues - Returning Values from HyperTerminal 2 VDS |
|
|
I am new to VDS.
I want to be able to write a VDS program to dial another modem out of HYPER TERMINAL (Not Dial-up Networking). I just need to establish a connection with modems with no default protocol.
Sending Key Strokes to Hyper Terminal works fine. But I am having difficulty in managing error control. I can't figure out how to get the modem status values from HyperTerminal back into my VDS program.
Is there a way to do this? Suggestions please! |
|
| Back to top |
|
 |
Inspyre Newbie

Joined: 24 Nov 2002 Posts: 4 Location: Always in VDS
|
Posted: Wed Nov 27, 2002 11:43 am Post subject: |
|
|
| Has anyone done any VDS prgramming with modems? (I.e. Dial-out, hang up, connect speed display, retry if busy) |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Wed Nov 27, 2002 12:48 pm Post subject: |
|
|
Hi,
Well I made a few weeks ago a VDS app to control a Telnet session. All the logging was done by the Telnet application that would write a log in text format. My VDS app would load in a list every second that log. It would then check every second if there was certain matches in the list like "Disconnect" or any pertinent messages I needed to trap. That way I could know what was going on with the telnet session. I needed to automate a telnet session and start certain tasks on the unix server as well as on the Windows PC. I perfectly emulated a Telnet session with a VDS app.
I dont know about Hyperterminal enought to help you. Is there any auto-logging that writes to a text file ? |
|
| Back to top |
|
 |
Inspyre Newbie

Joined: 24 Nov 2002 Posts: 4 Location: Always in VDS
|
Posted: Thu Nov 28, 2002 12:32 pm Post subject: |
|
|
Yes, HyperTerminal Has a way of logging the session to a file. Since my post I have written a VB app to replace HyperTerminal. It's a cut down slimeline version of HyperTerminal with logging capabilities.
I'll try your wonderful suggestion! Mind sharing a code snippet? |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Thu Nov 28, 2002 12:53 pm Post subject: |
|
|
| If I have a chance Ill post a cut down version of my application.. Ill let you know. |
|
| Back to top |
|
 |
|