views:

851

answers:

3
  • How to integrate barcode scanner into an ASP.NET Web application?

  • Any open source library for doing it?

A: 

You (probably) will not have a barcode scanner into your server, but on user computers.

A barcode scanner typically reads a barcode, understand it, and to make that read data to be understood by your computer as entered by keyboard. So you'll just need to send that data to server to be processed.

EDIT: I don't have experience on reading barcodes, by you can look into this link to find how to create them: C# Barcode Generator WebService. Maybe you should buy one component for both tasks.

Rubens Farias
@rubens what barcode library you would suggest for reading and generating barcodes in an asp.net web application...
Pandiya Chendur
edited my answer
Rubens Farias
A: 

If you need the barcode written into a textbox, you'll not need extra work to do. Barcode scanners simulate keypress event. Even you can handle window.keypress event to hook the preamble and postamble characters. That way the client do not need to focus on the specific textbox.

Or else the reader uses a hardware driver (? don't know such vendors exists ?) , then you'll need an ActiveX object to wrap the library.

Mehmet AVŞAR