Search code examples
c#vb.netwinformsbarcode

Use barcode scanner in VB.Net windows application


I have a point of sale windows application in vb.net and it is working fine. But now I want to use a barcode scanner with it. But honestly I have no idea how to integrate it. I have bought a speed-x barcode scanner from the market and connected it to the laptop but its not scanning anything but weird beeps only. (the installation is fine) I thought it would automatically read and punch text into a textbox when a textbox is focused. but its not that simple I guess. any ideas or tutorial for this problem? Please note that I am a beginner level programmer and this is my first application ever. I have researched as much as I could and did not find any proper solution therefore posting my question here.


Solution

  • Aright! So at last i have found the solution and that is the user manual that contained different barcodes are to activate and deactivate features of the barcode scanner (ON/OFF). and there was a barcode with tite "Restore Defaults" and as i scanned that the problem resolved. Now i can scan anything and the result is getting displayed in the textbox accurately. Posting the answer so that in future if anyone else faces the same problem then this could be of any help. Thanks everyone who took time and provided valuable suggestions to the problem. Thank you.