Re: VB Applications with Barcode Scanners

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



IMHO when a input device like a barcode scanner (unlike for instance a
digital thermometer) has to write to an inactive control, I consider that a
design problem. Considering the original question I did not make that
explicit.

If however -in general- a (COM port) device has to write to an inactive
control, I can not see why that should be so difficult. For instance,
instead of a server writing to a active app/control (which is not that
difficult to write), one can easily adjust it so it will direct the input of
a COM port to inactive app/control.

Yours friendly,

Hans Heezemans
www.iservi.com


"JP Bless" <jp3BlessNoSpam@xxxxxxxxxxx> schreef in bericht
news:uXcEn$7lGHA.3752@xxxxxxxxxxxxxxxxxxxxxxx
Apparently you did not read the original question well and you did not
read
Dick Grier's response well. The OP asked if he could scan item code to a
specific control/textbox regardless of whether or not that control has
focus.

Dick Grier explained that you could not make a keyboard wedge scanner to
scan to a textbox that does not have focus. And that is the fact. Keyboard
wedge scanners (whether or not USB interface) work like keyboards (that is
they send signal to which ever control/textbox that has focus.) Please
explain to us how you could send a signal to a textbox that does not have
focus with a keyboard wedge scanner. Dick Grier's response which you
ironically seem to validate made certain to point out the OP needs to use
serial (non keyboard wedge) scanner to do what he wanted. And I agree.



"Hans" <hh@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23MkTdS7lGHA.3880@xxxxxxxxxxxxxxxxxxxxxxx

"Dick Grier" <dick_grierNOSPAM@.msn.com> schreef in bericht
news:e3C0MZtlGHA.4212@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

This is VERY difficult with USB or keyboard wedge devices. I STRONGLY
suggest that you consider using a serial reader. Focus then is not an
issue. I have code examples in my book that illustrate (see below).


Don't make me laugh, users of my app use USB/KBW/COM barcode readers and
have no problems. The code is tested for normal keyboard input and it did
not need any updating for these devices.Users with COM devices use a
server
that directs the COM signal to the activated app/control.

Yours friendly,

Hans Heezemans
hh@xxxxxxxxxx
www.iservi.com








.



Relevant Pages

  • Re: delaying a macro in access
    ... I obtained a plug-in from the manufacturer of the barcode scanner so that it ... barcode is that information is direclty input into whatever field or control ... I would like the macro or code to set the focus to the next ...
    (microsoft.public.access.macros)
  • Re: Activex Control
    ... What is the scanner and activex control you are using. ... some wireless barcode scanner work myself so I would like to investigate ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Activex Control
    ... What is the scanner and activex control you are using. ... wireless barcode scanner work myself so I would like to investigate what is ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Wedge bar code scanners: how do they work?
    ... as the application has to rely on the input focus being ... And how is that different with a serial scanner? ... Consider the keyboard wedge input and that all you get are key strokes. ... only to the focused control. ...
    (borland.public.delphi.non-technical)
  • Re: Working with Barcode Reader ?
    ... set focus to a control. ... There scanner isn't configured to first send a pre amble and even if that was possible it would be much work to set 100 scanners up for that. ... maybe more keystrokes come to quickly, the they came from the barcode scanner, ...
    (microsoft.public.fox.programmer.exchange)