Results 1 to 4 of 4

Thread: Direct to COM port

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    195

    Question Direct to COM port

    Hi everybody.

    I'll posting this to more forums as I don't really know where it belongs ...
    Problem: Is there any way (or a component) that would allow me to send specific data to a selected COM port.
    I do not know how exactly COM port works but I am looking for something that if told would send for example 123 to COM1 or COM2.
    So is there a way how to acomplish that?

    TIA.
    Brandon

  2. #2
    jim mcnamara
    Guest
    Use the MSComm control in VB

    The MSComm1.CommPort property lets you set the COM port you want to use.

  3. #3
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    Or simply
    VB Code:
    1. Open Com3 For Output As #1
    But if you need more then just sending info. I think you should go with the MSComm Control

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    195
    Well, don't know yet which method will be better but I need to comunicate with cash register and actually I don't know yet whether it is two way communication or one way. Well, I'll see. Thanx.
    Brandon

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