Using BarCode Scanner machine in C# Application

  • Thread starter Thread starter rupendra chaudhary
  • Start date Start date
R

rupendra chaudhary

Has anyone had experience with using bar codes with C#. I have a client
who wants to read a bar code with a POS.They already have barcode
scanner. but what will I need from a C# programmers perspective to read
in the results of the
scan? How do I get result of scanner and then use it in my code?
 
Hello rupendra,

Scaner usually read data as string, keeps it in clipboard and paste it in
active editbox or whatever it active
For example, if u open notepad and scan smth in notepad u will see the number
smth like is "12343412431431" - it's barcode

rc> Has anyone had experience with using bar codes with C#. I have a
rc> client
rc> who wants to read a bar code with a POS.They already have barcode
rc> scanner. but what will I need from a C# programmers perspective to
rc> read
rc> in the results of the
rc> scan? How do I get result of scanner and then use it in my code?

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hi,

I have used Symbol, Socket and another one that do not remember the name.

It's extremely easy to use, Symbol provide a complete SDK completed with
example of how to use it. For sockets I used the implementation from
opennetcf.org

I would go with Symbol, if you have the option.
 
Dear Michael

Thanks for quick reply. Can you please send me the sample code, so that
i can understand and implement accordingly.
 
Dear Ignacio

Thanks for quick reply. Can you please send me the sample code for both,
so that i can understand and implement accordingly.
 
Hi,

As I told you both in the SDK & the opennetcf.org site you will find all you
need.
What scanner r u using?
In what kind of device?

Btw, did you copy the response to Michael? Both are exactly the same
changing only the Dear XXX
 
Hi,

I have never used those, get in contact with the vendor and see what kind of
dev tools they provide.

IIRC it's common to send the scanned data as it was coming from the
keyboard.
 
Back
Top