all groups > dotnet compact framework > july 2007 >
You're in the

dotnet compact framework

group:

lock the barcode reader


lock the barcode reader stranigiorni
7/30/2007 2:49:39 AM
dotnet compact framework:
hi, is there a way to switch programmatically the barcode reader off
(and avoid the user to use it), without using own device sdk?
i've tried using opennetcf led notification, but nothing...
any suggestion?

i want to avoid the user to read a barcode when a message box is
displayed (otherwise the CR wastes the msgbox ...)

matteo
Re: lock the barcode reader chris-s NO[at]SPAM mailcity.com
7/30/2007 3:38:14 AM
As far as I know, there is no 'industry standard' for the method used
to interface to barcode scanners, so each manufacturer is different,
therefore, the answer to your question is no, you will need to use the
device SDK. However, with a bit of work you could probably findout
what low-level operation/call is required and do that directly or via
a C++ dll.

It may help if you let people know what device you are working with as
well.

Chris


[quoted text, click to view]

Re: lock the barcode reader stranigiorni
7/30/2007 6:14:48 AM
Thanks for your reply
intermec, symbol and datalogic...

i've tried also to intercept scan button but nothing... it didn't
invoke ant _KeyPress event...
Re: lock the barcode reader Paul G. Tobey [eMVP]
7/30/2007 8:32:36 AM
There's no common API for those devices and, although I've never tried to
see what key the scan button might be, I doubt that it's a keyboard key in
all of those cases and almost certainly is not the same one, even if it is.
There is no standard for barcode scanner control.

You must get the SDK for each of the target devices and decide on a method
to perform the operation you want for each. Then you'll have to detect, at
run-time, which device you are actually running on and execute suitable code
for that specific device.

Paul T.

[quoted text, click to view]

AddThis Social Bookmark Button