
Bar CODE VBX or Info, CODE, I/O info for VB 3.0
To use a serial port based scanner, your app. will have to be prepared
for it. And if you design the application, it will require more
programing.
Instead, a wedge barcode reader will work in every application, since
it sends data like the keyboard does. And in most cases the barcode
reader can be programmed to send a CR/LF at the end of the string, so
you'll have automatic input of data.
About the scanned data ending up in the wrong place: if the
application has a lot of input boxes in the form where you have to
input a code, then it is not a good application (or at least not a
user friendly one) ! And if it ends up in the wrong application, thats
the price you pay for a multi-application operating system... the user
will have to learn how to deal with the advantages and problems of
such operating systems, or go back to DOS.
Quote:
>I would _SERIOUSLY_ recommend against going this route. I've written
>several barcode-enabled VB apps. I have found that "keyboard wedge"
>type barcode readers have serious deficiencies when used within Windows.
>In any Windows based application, it is exceedingly difficult to take
>complete ownership of all keyboard input. There is no straightforward
>way to ensure that data from the scanner is not accidentally sent to
>the wrong application. Even if the data does end up in your application,
>you also have to ensure that the keyboard/cursor focus is always at the
>right place when the user decides to scan something.
>I recommend using a serial port based scanner. This way, the information
>from the scanner comes through on its own, independent data stream,
>and doesn't have to be filtered out of keyboard input. You use the
>standard MSCOMM.VBX, and it works like a charm.
>As for printing the barcodes, there are many barcode fonts (particularly
>the CODE 3of9 fonts) available...
>Byron Jones
>> If it's printing barcodes, try looking at:
>> http://www.jumbo.com/prog/win/vbasic or
>> http://coyote.csusm.edu/winworld/
>> Best luck
>> --
>> Pedro Ferreira (Net. admin.)
>> Niposom - J. Nabais, lda
--
Pedro Ferreira (Net. admin.)
Niposom - J. Nabais, lda