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. C#
  4. c# program using a barcode scanner

c# program using a barcode scanner

Scheduled Pinned Locked Moved C#
csharpdatabasehardwaretutorialquestion
5 Posts 4 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.
  • S Offline
    S Offline
    steve_rm
    wrote on last edited by
    #1

    Hello I am writing an program that will use a bar code scanner to scan products. The product code will be looked up in a database and return the details of the product to the windows form. I have never worked with this barcode hardware before, and before l purchase some a bar code scanner. I need some questions answered. Does the barcode scanner come with any software? It is easy to interface a c# windows program with a barcode scanner? Does the barcode scanner connect through the USB port? Does anyone know any example programs where this has been done? Thanks very much in advance, Steve

    R C D 3 Replies Last reply
    0
    • S steve_rm

      Hello I am writing an program that will use a bar code scanner to scan products. The product code will be looked up in a database and return the details of the product to the windows form. I have never worked with this barcode hardware before, and before l purchase some a bar code scanner. I need some questions answered. Does the barcode scanner come with any software? It is easy to interface a c# windows program with a barcode scanner? Does the barcode scanner connect through the USB port? Does anyone know any example programs where this has been done? Thanks very much in advance, Steve

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #2

      Probably this article[^] might to of help to you. I've just worked once with barcode scanners. I don't remember the name of this scanner nor of the used drivers but it was plugged into USB and just entered the read barcode number into the active textbox (didn't matter if it was Word, Editor or any special application). This way my application didn't need to know anything about barcode scanning - it just waited for input.

      1 Reply Last reply
      0
      • S steve_rm

        Hello I am writing an program that will use a bar code scanner to scan products. The product code will be looked up in a database and return the details of the product to the windows form. I have never worked with this barcode hardware before, and before l purchase some a bar code scanner. I need some questions answered. Does the barcode scanner come with any software? It is easy to interface a c# windows program with a barcode scanner? Does the barcode scanner connect through the USB port? Does anyone know any example programs where this has been done? Thanks very much in advance, Steve

        C Offline
        C Offline
        cjengler
        wrote on last edited by
        #3

        If you get a Keyboard wedge barcode scanner then when you scan an item the barcode numbers are simply outputed to the textbox (or other control) that has current focus. With the keyboard wedge there is no need for any specific software or drivers.

        1 Reply Last reply
        0
        • S steve_rm

          Hello I am writing an program that will use a bar code scanner to scan products. The product code will be looked up in a database and return the details of the product to the windows form. I have never worked with this barcode hardware before, and before l purchase some a bar code scanner. I need some questions answered. Does the barcode scanner come with any software? It is easy to interface a c# windows program with a barcode scanner? Does the barcode scanner connect through the USB port? Does anyone know any example programs where this has been done? Thanks very much in advance, Steve

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          All of your questions depend HEAVILY on the barcode scanner that you pick. They come in different interfaces (USB, keyboard wedge, serial port) and will either come with drivers or not. The single, most important piece you need is the DOCUMENTATION that comes with the scanner. That will tell you everything you need to know about interfacing with the scanner. You'll have to do your own research as to what is going to suit your applications needs. Example programs, probably a few out there, but not many, simply because this is a very narrow application market. Besides, these really are simple devices to interface with. There's not much to listening for a string of information comming from them. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          S 1 Reply Last reply
          0
          • D Dave Kreskowiak

            All of your questions depend HEAVILY on the barcode scanner that you pick. They come in different interfaces (USB, keyboard wedge, serial port) and will either come with drivers or not. The single, most important piece you need is the DOCUMENTATION that comes with the scanner. That will tell you everything you need to know about interfacing with the scanner. You'll have to do your own research as to what is going to suit your applications needs. Example programs, probably a few out there, but not many, simply because this is a very narrow application market. Besides, these really are simple devices to interface with. There's not much to listening for a string of information comming from them. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            S Offline
            S Offline
            steve_rm
            wrote on last edited by
            #5

            Hello, Thanks for all your advice. I think the keyboard wedge would be the better one for me. Steve

            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