|
I am interested in using Winforms app with a USB barcode scanner. I would like the barcode to be automatically read when it's scanned by the scanner into a textbox in my windows form. Does Microsoft have anything that can be used with .Net Framework 3.5? Thanks Sunil sun21170- Changed TypeLing WangMSFT, ModeratorMonday, September 21, 2009 2:23 AM
- Changed TypeLing WangMSFT, ModeratorThursday, October 08, 2009 2:52 AM
- Changed TypeLing WangMSFT, ModeratorThursday, October 08, 2009 2:52 AM
-
| | sun21170 Wednesday, September 09, 2009 2:34 PM | Hi,
Most USB scanners act as keyboard devices, so as long as the focus is in the correct field when the barcode is scanned, the barcode will be entered as text into the field like you want. This is easiest.
If you want a solution that doesn't involve managing focus, try the Pos .Net library which allows you to access many classes of device including barcode scanners. The issue with this, however, is you will need a 'service object' for which ever scanner you pick (usually available from the hardware vendor). You will also need to reconfigure the scanner so it doesn't act like a keyboard device, in order to use it with Pos .Net.
- Marked As Answer byLing WangMSFT, ModeratorThursday, October 08, 2009 2:53 AM
-
| | Yort Thursday, September 10, 2009 1:25 AM | Check first with the barcode scanner company, they may provide a library to do it, either unmanaged C\C++or .Net would be great. Otherwise you'll have to dive into the world of USB in .Net, which is quite a ____. | | ScottyDoesKnow Wednesday, September 09, 2009 3:41 PM | Hi,
Most USB scanners act as keyboard devices, so as long as the focus is in the correct field when the barcode is scanned, the barcode will be entered as text into the field like you want. This is easiest.
If you want a solution that doesn't involve managing focus, try the Pos .Net library which allows you to access many classes of device including barcode scanners. The issue with this, however, is you will need a 'service object' for which ever scanner you pick (usually available from the hardware vendor). You will also need to reconfigure the scanner so it doesn't act like a keyboard device, in order to use it with Pos .Net.
- Marked As Answer byLing WangMSFT, ModeratorThursday, October 08, 2009 2:53 AM
-
| | Yort Thursday, September 10, 2009 1:25 AM | Hi,
I found your question has been answered in this thread: http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/thread/7c283479-b8b4-43b1-be8b-26306abfba8f.
Do you need further help?
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. | | Ling Wang Thursday, September 17, 2009 8:15 AM | We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. | | Ling Wang Monday, September 21, 2009 2:22 AM | The answer is in one of the replies by Yort. "Hi, Most USB scanners act as keyboard devices, so as long as the focus is in the correct field when the barcode is scanned, the barcode will be entered as text into the field like you want. This is easiest. If you want a solution that doesn't involve managing focus, try the Pos .Net library which allows you to access many classes of device including barcode scanners. The issue with this, however, is you will need a 'service object' for which ever scanner you pick (usually available from the hardware vendor). You will also need to reconfigure the scanner so it doesn't act like a keyboard device, in order to use it with Pos .Net." sun21170 | | sun21170 Thursday, October 08, 2009 2:35 AM |
|