Anybody out there knows how does vb6 receive input from barcode
reader/scanner..(beside using commercial ocx/dll)...?
Also, how to print out the barcode to the barcode printer...?
tq.
Connect the barcode reader to the COM port, and read the COM port, or use a
keyboard wedge.
> Also, how to print out the barcode to the barcode printer...?
Buy a printer with a Windows driver, and you can print from you app.
Rene
TIA,
Jeppe
"Rene Balvert" <re...@balvert.demon.nl> wrote in message
news:u4ntbm9...@corp.supernews.com...
See my book for example code. If you don't have MSComm32.ocx (comes with VB
Pro and Enterprise), you can downlaod XMCommCRC.ocx from my homepage.
--
Richard Grier (Microsoft Visual Basic MVP)
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO 80228
303-986-2179 (voice)
303-986-3143 (fax)
Leave voice mail or fax that I can receive as email at 303-593-9315
Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
Edition ISBN 1-890422-25-8 (355 pages).
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order. For faster service contact the publisher at
http://www.mabry.com.
No need for a specialized OCX. MSComm (the Microsoft Communications
control) can use used with all serial interface barcode readers. I have
examples of this in my book (see below).
If the barcode reader uses a keyboard "wedge" you don't need to use any
control at all. In that case, barcodes are inserted between the PC keyboard
and the PC and are interpreted just as though the data had been entered on
the keyboard.
You can get information on printing barcodes from www.mabry.com and
www.taltech.com.
"adam" <ad...@cmg.com.my> wrote in message
news:3c4b89bf$1...@news.tm.net.my...
The other possible output option is to get a bar code reader with an
RS232 or "Serial" interface. With these types of bar code readers, you
connect the reader to an available serial port on the back of your PC.
You would then need a program called a "Software Wedge" to take the
data from the bar code reader and feed it to the application where you
want the data to go. The disadvantage to this approach is that it is a
little more complex however you gain much more control over how and
where your data ends up when you read a bar code. With a Software
Wedge, you can control exactly where the data goes in the target
application and you can also perform all sorts of modifications on the
data before it is sent to the application.
The company that I work for sells a product called WinWedge which is a
Software Wedge for Windows.
We also sell a very high quality bar code ActiveX control for printing
bar codes.
Visit: http://www.taltech.com for more information. This web site is
also an extremely good place to obtain information about bar coding in
general.
for example:
strInput = MSComm1.input
MSComm1.Output = strOutput
will read and write to the comm port (assuming you have set it up
correctly - see the MSComm documentation)
Jan Simonsen
"Thomas Lutz" <t...@taltech.com> wrote in message
news:3c8a015a...@news.bellatlantic.net...