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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
bob bell13 reputationPosted Nov 9, 2014, 5:01 PM EST
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);
akshat goel39 reputationPosted Apr 12, 2014, 11:54 AM EDT
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/
Saber ShaikhRank #1,687 · 905 reputationPosted Apr 15, 2014, 10:53 PM EDT
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
Jim Gaffigan6 reputationPosted Jan 11, 2015, 5:40 PM EST