Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 23rd, 2007, 07:45 AM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Block Keyboard not Barcode Reader

Hi!,
I want to block keyboard input into my application, but i dont want to block the barcode scanner input.. i have a scanner that connects through the keyboard port..
Is there a way to identify if the input is coming through the keyboard or the scanner? Is this possible??
Thanks for your help!

 
Old April 23rd, 2007, 07:49 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You would have to refer to the scanner documentation. Even though I have no experience with such devices, I would imagine that such a device hooked up to a keyboard port is essentially acting as a automatic keyboard. When you scan a code, the scanner is just emitting "key strokes" as if you entered them on the keyboard yourself. Therefore, I would suspect that you won't be able to block manual entry because the computer doesn't know that the device hooked up is a scanner versus a regular manual keyboard.

Again, this is just based on an assumption of how such a device is likely to work. You'll have to read the manual to find out for sure.

-Peter
 
Old April 24th, 2007, 10:28 AM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh I see, is there any other way to accomplish that task in that situation, like only accept user input from the reader? any ideas?
THANKS!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Barcode rajanikrishna Classic ASP Databases 4 October 9th, 2012 10:17 PM
Scanner,Barcode reader and Printer MZA Visual Studio 2005 2 September 4th, 2012 12:02 AM
Need Help BarCode Reader arshhb General .NET 0 August 12th, 2007 02:11 AM
Barcode rajanikrishna Classic ASP Databases 4 July 3rd, 2006 08:25 AM
Barcode rajanikrishna Pro VB 6 16 October 26th, 2004 05:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.