How to Create a VB6 Program for a Bar Code Scanner

Written by paul mann
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Create a VB6 Program for a Bar Code Scanner
Bar codes can be imported into VB6 with little work. (pencil and barcode image by Anatoly Tiplyashin from

Visual Basic, with its object-oriented coding structure, usually needs a programmer to write coding to perform a task. However, since a bar code scanner holds alphanumerical information, VB6 can read the information without the need for coding. You just need to set up VB6 to receive the data.

Skill level:


  1. 1

    Launch VB6 using the "Programs" folder in "Start."

  2. 2

    Click the "Text Box" function at the right and drag that into the main stage (the centre console). Make as many text boxes as you need for bar codes that will be read. For example, if you need to read three bar codes, make three text boxes.

  3. 3

    Scan any bar codes you want to read and connect the scanner to your computer. Recently scanned bar codes will be placed right into the text box. The text box will display the bar code image, the number attached to the bar code along with store information such as the price and item description.

    If you scanned three bar codes, then connected to the computer, those three will go into the text box. If you disconnect the bar code scanner and scan one more bar code, that one bar code will be placed into VB6 when you connect the scanner again.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.