Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 2 bar code scanner one usb and the other ps2 connected to 1 PC and working with 1 text box. Now I want to distinguish between scanners and determine which one is sending data to my text box.

Can everyone help me with a code or advise in c#?

Thank you
Posted
Updated 5-Feb-11 3:35am
v4
Comments
Henry Minute 5-Feb-11 6:45am    
You should never post your email address in a public forum like this, unless you are fond of spam. If anyone answers your question you will get notified like you have been for this comment.
MrFarid 5-Feb-11 6:50am    
ok thank you

1 solution

Without knowing what the barcode scanners are any answer will be a guess but my guess is that any API to access a barcode scanner will differ based on model/maker/interface or the scanner ID should be available from the API supplied by the manufacturer.

So really it is a matter of looking at what information is available via the API interface to determine which scanner provided the information.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900