Re: VB Applications with Barcode Scanners
- From: "Hans" <hh@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 12:08:13 +0200
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
server
"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
that directs the COM signal to the activated app/control.
Yours friendly,
Hans Heezemans
hh@xxxxxxxxxx
www.iservi.com
.
- References:
- VB Applications with Barcode Scanners
- From: lion
- Re: VB Applications with Barcode Scanners
- From: Dick Grier
- Re: VB Applications with Barcode Scanners
- From: Hans
- Re: VB Applications with Barcode Scanners
- From: JP Bless
- VB Applications with Barcode Scanners
- Prev by Date: Re: User-defined type as property?
- Next by Date: GetChunk Issue
- Previous by thread: Re: VB Applications with Barcode Scanners
- Next by thread: Re: VB Applications with Barcode Scanners
- Index(es):
Relevant Pages
|