Results 1 to 3 of 3

Thread: Control the Serial Port

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    Pakistan
    Posts
    1

    Control the Serial Port

    i have Electronic attendence Machine (Bar code reader type)
    i want download all the data at the machine through VB Program
    how can i do this.
    the machine is connet through serial port (com1 or com2)

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    MSComm control should suffice
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Fanatic Member BrianHawley's Avatar
    Join Date
    Aug 2001
    Location
    Saudi Arabia
    Posts
    796
    Before you get into any heavy coding, you can probably try it out using Hyperterminal ('free' with Windows) and a modem cable.

    Most RS232C equipment of this type works by you sending it some ASCII text and it making a reply. You'll need the manual for the machine, to know what code to use.
    Brian
    (Fighting with the RightToLeft bugs in VS 2005)

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