I want to use bar code scanner, i have a bar code scanner machine , i want to use that bar code in my c# application, how can i do this?
thanks in advance
Sharad Gupta
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jim GaffiganPosted Jan 11, 2015, 10:40 PM
bob bellPosted Nov 9, 2014, 10:01 PM
Firstly, please add "BarcodeReader.dll" to your Visual Studio project reference.As for the "BarcodeReader.dll",you can search it in google.
Secondly,click "Project" and select "Add Reference...".
Thirdly,click "Browse" to locate your "BarcodeReader.dll", and click "OK".Now you can use "BarcodeReader" as the namespace for your .NET class project.
Now begin to read barcodes in c#.net from image file:
Simply pass your target barcode image file and barcode type to "BarcodeReader.readBarcode" method. Then,the barcode reader control will immediately scan & output all barcodes found.
C# Sample code:
String[] datas = BarcodeReader.readBarcode("C://csharp-sample-code128.png", BarcodeType.Code128);
Saber ShaikhPosted Apr 16, 2014, 2:53 AM
http://stackoverflow.com/questions/9150263/barcode-scanner-programming-in-c-sharp
http://stackoverflow.com/questions/8621033/how-can-i-read-bar-code-from-my-bar-code-reader
akshat goelPosted Apr 12, 2014, 3:54 PM
http://www.c-sharpcorner.com/UploadFile/krishnasarala/barcode-scanner-in-C-Sharp/
Even there is a Open source API for it on codeplex...
http://freebarcode.codeplex.com/