By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,676 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

HELP -- BarCoder Reader --- COM PORT I/O or HID USB I/O

P: n/a
Thanks Everyone For your Help !!!

I've figured out how to resolve the Barcode Project. I've have to
Redirect the I/O to use a COM Port or USB HID port. I am able to
retreive data from the barcode reader via the com port in my
application whether it has focus or not (is in the background or

My next question would be, how do you write a 'ComPortEvent' that is
called in my application everytime the buffer of the comport's data is
changed? Currently, my application needs a button to be pressed in
order for me to process the ComPort Buffer Data Stream.

I heard that reading input from a HID USB is much faster and easier
than I/O from Com ports.

If anyone has some sample code that uses Com Port I/O in their dotNet
apps with Event Handling, I would love to see your code.

Thanks in Advance,

Feb 18 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
What are you using to read the serial port? System.IO.Ports (VS 2005), or
some serial add-on? Whatever method, it should have an event mechanism like

Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004.
See for details and contact information.
Feb 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.