Read Barcode Scanner Data From A Serial Port

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Bill Fosbrook

Version Compatibility: Visual Basic 6

More information:
I use this to read from a barcode scanner into an RS232 serial port. It uses the MSComm control. I have seen a few messages on the forum asking about serial communications so I thought I would send you a faily simple example.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download scan.zip