lock the barcode reader

  • Thread starter Thread starter stranigiorni
  • Start date Start date
S

stranigiorni

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
 
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
 
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...
 
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.
 
Back
Top