Re: How to determine the input method for the textbox control?

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



Beautiful business model. No manual override. If the barcode scan fails,
just turn that customer away. Didn't need their money anyway.

;-)

Dan

tham wrote:
Hi

Actually this is a requirement from our customer.
They want the operator to scan the CardID.
Manually entered the cardID is not allowed as they afraid the
operator will remember the ID and use it illegally.



"Andrew Howell" <ajh@work> wrote in message
news:eBX3WiRvGHA.1772@xxxxxxxxxxxxxxxxxxxxxxx
"Michel LEVY" <stop.michelvfplevy@xxxxxxxxxxxxxxx> wrote in message
news:OsphsIIvGHA.3372@xxxxxxxxxxxxxxxxxxxxxxx
Tham,

Some barcode scanner can be set with sending a control code before
or/and after the barcode. That could be a way to determine the
input origin.

Yes, best thing I can think of is use a preamble string from the
scanner and check for that. Of course you can still type the
preamble string with a keyboard..

What are you going to do if a barcode will not scan though?
Usual answer is to key in the number..
If you really don't want to use the keyboard, don't plug it in!

--
regards
Andrew Howell


.



Relevant Pages

  • Re: Questions about adding barcode scanning capability
    ... I think also Code 39 will work because, customer Id's ... Then I used a tiny test program to read the barcode into a textbox. ... Some fonts made problems in some font sizes. ... colored paper - light green - and a HP Laserjet and the scanner had ...
    (microsoft.public.vb.general.discussion)
  • Re: Questions about adding barcode scanning capability
    ... I want to add barcode scanning capability to a next release of my ... A barcode with the identification of the customer will be ... depending on the scanner type that you ... port and assign it to any variable, data structre or text control that your ...
    (microsoft.public.vb.general.discussion)
  • Re: Questions about adding barcode scanning capability
    ... I want to add barcode scanning capability to a next release of my ... A barcode with the identification of the customer will be ... the customer identification with a barcode scanner and, at this time, ... keyboard wedge (IE where the scanner interpolates the barcode directly into ...
    (microsoft.public.vb.general.discussion)
  • Re: Questions about adding barcode scanning capability
    ... I want to add barcode scanning capability to a next release of my ... A barcode with the identification of the customer will be ... customer identification with a barcode scanner and, at this time, should ... I have used wireless barcode scanners as keyboard wedge for over 10 years, ...
    (microsoft.public.vb.general.discussion)
  • Re: Questions about adding barcode scanning capability
    ... A barcode with the identification of the customer will be ... customer identification with a barcode scanner and, at this time, should ... I have used wireless barcode scanners as keyboard wedge for over 10 years, ...
    (microsoft.public.vb.general.discussion)