How do I output information to a hardware and Input ?
Edited by Zleepy on 02-24-2000 at 03:36 PM
Printable View
How do I output information to a hardware and Input ?
Edited by Zleepy on 02-24-2000 at 03:36 PM
What do you mean? RS-232 serial port?
Like I type the hardware's I/O Adress, and then it will send information to the hardware, like:
OutHW &H3F8, "ThisInfoToSend"
Or, how do I make a terminal program, send information like ATZ
ATDT
And stuff like that to a modem ??
Well you could use a shareware DLL by the name of win95io.dll which allows you to send recieve data to LPT1 , i controlled a remote control car from it and it works fine.
I've answered this a few times about accessing the parallel port and serial port. Search for it.
I am trying to make a program in vb like a laplink program or if you like a direct cable connection program could you please help or give me some code i can use win95io.dll but it sends it to the port and not down the cable to the other computer
thanx Paul Roseby
Please E-Mail Me Back!!! at [email protected]
Send AT command to a modem just as easy as 123. All you need to do is to made sure you have open the serial port where your modem is connected.
Then just use the following MSComm object properties to send the data out.
But made sure you have add the Carriage Return (vbCr) after each AT command that you've issue.Code:MSComm1.Output = "ATZ" & vbCr