ACP
ACP

Reputation: 35268

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

Upvotes: 3

Views: 29970

Answers (2)

Rubens Farias
Rubens Farias

Reputation: 57946

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.

Upvotes: 3

Mehmet AVŞAR
Mehmet AVŞAR

Reputation: 521

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.

Upvotes: 3

Related Questions