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

N

neilphan

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
forground)

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,
Neil
 
D

Dick Grier

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
OnComm.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top