modem question

  • Thread starter Thread starter Cc
  • Start date Start date
C

Cc

hi,
I making a program to control modem , I had follow example from MS website
on how to access serial port but still don't know how to make modem dial .
Is there any example on how I could make modem dial?
 
Cc said:
I making a program to control modem , I had follow example from MS website
on how to access serial port but still don't know how to make modem dial .
Is there any example on how I could make modem dial?

Do you want to develop a dialler?

;-)
 
Cc said:
hi,
I making a program to control modem , I had follow example from MS
website on how to access serial port but still don't know how to
make modem dial . Is there any example on how I could make modem
dial?

Use an AT command? Have a look at the docs for the modem or the
manufacturer's docs for the modem's chipset.
 
Hi,

Sure (lots of examples in my book -- see below). However, the details
depend on what you want to do AFTER dialing. Do you want to connect with
another modem to send and receive data, or do you want to then pick up the
local telephone and talk, using the modem as an autodialer?

For example, if you send this command to the modem:

"ATD5551234" & vbCr

The modem will dial and attempt to connect to another modem.

If you send the command:

"AT5551234;" & vbCr

The modem will dial, but will then return to command mode, without
attempting to connect.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top