
INFO NEEDED on USING Bar Code Scanner in VB
Quote:
>> I am in real need of any info that people have about USING Bar Code
>> Scanner's with VB.. How to integrate their use so that the scanned Code
>> could be inserted(or captured) by VB programmer for Storage in a Database..
>We have a DOS-based Barcode-Scanner software and it works by emulating
>keystroks. The application receives the scanned Code as if it had been
>entered by the keyboard.
>In Windows the scanner-software should generate something like a "SendKeys"
>and the control having the focus receives the data.
Now I may be reading this wrong, but what you've just said is that your code
reads the input provided by the scanner into the keyboard buffer, and then
......puts it back into the keyboard buffer. Why?
Scanners that plug between the keyboard and the host PC require NO SOFTWARE!
just have your program ask for keyboard input e.g. a text box. Scanners that
connect to the serial port usually come with their own piece of software which
stuffs the data into the keyboard buffer and hence require NO OTHER SOFTWARE!
No VBX's/DLL's/any other expensive nonsence are required - Don't get fooled
into believing you need something you get for free!
Matt
+------------------------------+--------------------------------------------------------+
| Standard Discalaimer applies | 'Why say NO when NOT YET is what you actually mean!' |
| ie These are only my thoughts|'After all is said...If it works, it's out of date' |
+------------------------------+--------------------------------------------------------+