how to restrict scanning in a textbox

Posted by Santosh4u under VB.NET on 4/6/2011 | Points: 10 | Views : 2003 | Status : [Member] | Replies : 3
hi

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......
Regards
Santosh
http://santoshdotnetarena.blogspot.com/




Responses

Posted by: Prabhakar on: 4/11/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Santosh4u

i think it's not possible . . becau'z scanner catch cursur position on text box . if u set textbox property enabled to true . . so u are not able to insert by keyboard . .

Best Regard's
Prabhakar

Santosh4u, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 4/11/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
You can customize that in your code itself santosh... when scanning happens do the enable = false!!!

Thanks
Karthik
www.f5Debug.net

Santosh4u, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 4/11/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
it is a bit difficult. i am not sure how you can do that. it does not look possible, if you succeed , please post your solution here

Thank you for posting at Dotnetfunda
[Administrator]

Santosh4u, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response