Results 1 to 7 of 7

Thread: How do I send information to a hardware, and recieve ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    How do I output information to a hardware and Input ?


    Edited by Zleepy on 02-24-2000 at 03:36 PM

  2. #2
    Member
    Join Date
    Feb 2000
    Location
    Toronto, Canada
    Posts
    44

    Post

    What do you mean? RS-232 serial port?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    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 ??

  4. #4
    New Member
    Join Date
    Mar 2000
    Posts
    3

    Post

    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.

  5. #5
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    I've answered this a few times about accessing the parallel port and serial port. Search for it.

  6. #6
    New Member
    Join Date
    Jun 2000
    Posts
    2

    Wink Win95io.dll

    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]

  7. #7
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb Modem

    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.

    Code:
    MSComm1.Output = "ATZ" & vbCr
    But made sure you have add the Carriage Return (vbCr) after each AT command that you've issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width