Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Bar code scanner

Bar code scanner

Scheduled Pinned Locked Moved Visual Basic
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brad Fackrell
    wrote on last edited by
    #1

    Has anybody here had any experience writing code to work with a bar code scanner? I’m just now starting to research this and I’m looking for resources. My most basic requirement is to be able to generate a bar code that is associated with a specific folder in a directory structure. When that bar code is scanned, the folder will open up. Thanks Brad

    K 1 Reply Last reply
    0
    • B Brad Fackrell

      Has anybody here had any experience writing code to work with a bar code scanner? I’m just now starting to research this and I’m looking for resources. My most basic requirement is to be able to generate a bar code that is associated with a specific folder in a directory structure. When that bar code is scanned, the folder will open up. Thanks Brad

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      Most barcode scanners just return text. It is just like someone typed keystrokes into the keyboard. So the only issue is what barcode type to use and does your barcode scanner support it. Certain barcode types only allow numbers, others allow both alpha and numeric. Some have check digits others don't. If you need to create a barcode that your scanner can read, often this is as easy as finding the correct font and just displaying that font with the correct text. So in your case, I would probably go with code 39 since it allows alpha characters. That way you could just create barcodes for your folder names. Then when the scan in your barcode you would have text that should be the folder name. At that point you could use that to open that folder. NOTE not all symbols are supported in some barcodes. So if you plan on needed to barcode certain symbols make sure the barcode you choose supports it. Hope that helps. Ben

      B 1 Reply Last reply
      0
      • K kubben

        Most barcode scanners just return text. It is just like someone typed keystrokes into the keyboard. So the only issue is what barcode type to use and does your barcode scanner support it. Certain barcode types only allow numbers, others allow both alpha and numeric. Some have check digits others don't. If you need to create a barcode that your scanner can read, often this is as easy as finding the correct font and just displaying that font with the correct text. So in your case, I would probably go with code 39 since it allows alpha characters. That way you could just create barcodes for your folder names. Then when the scan in your barcode you would have text that should be the folder name. At that point you could use that to open that folder. NOTE not all symbols are supported in some barcodes. So if you plan on needed to barcode certain symbols make sure the barcode you choose supports it. Hope that helps. Ben

        B Offline
        B Offline
        Brad Fackrell
        wrote on last edited by
        #3

        Thanks. That gets me on the right track.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups