.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to restrict input of a textbox from scanner

Posted By: Santosh     Posted Date: April 06, 2011    Points:5   Category :VB.Net

can any body plz telll me how to restrict scanning of a textbox which is not read only
means inputs can be allowed by keyboard but not by barcode scanner...

it's urgent......

Author: Geoff             
Posted Date: May 10, 2011     Points: 20   

If your scanner allows it (I believe most do), configure it to prepend a special character to the output.
Then test for that character in the change event.
As I understand it, there is no other way, since most (if not all) scanner drivers are designed to make the device look just like any other HID to your application.
If you find a better way, please post it.

Cheers from Ozz

Author: hark             
Posted Date: April 09, 2013     Points: 20   

Well, I have no idea of what are you trying to say. So I can only recommend you some posts which talks about barcode reader issues.


Author: louise22             
Posted Date: September 02, 2013     Points: 20   
Author: cindy313             
Posted Date: September 16, 2013     Points: 20   

not so clear about this

Author: cindy313             
Posted Date: May 26, 2014     Points: 20   
Author: lucy313             
Posted Date: November 11, 2013     Points: 20   

or you may check this barcode scanners http://www.keepautomation.com/products/barcode_scanner.html

Author: lucywill             
Posted Date: May 26, 2014     Points: 20   

this is my favorite barcode, hope it helps you

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend