473,387 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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

Feb 18 '06 #1
1 1725
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.
Feb 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
3
by: Frank | last post by:
I'm trying to access my database of records via a mag stripe reader. I've created a querry that prompts me to enter a number. I thought that I might just swipe the mag stripe and the appropriate...
0
by: Chua Wen Ching | last post by:
Hi there, I need some help here. Basically my PC has 6 USB ports (USB1, USB2, USB3, USB4, USB5 and USB6). Just say I have 3 USB devices (Reader1, Reader2 and Reader3) I would to create a...
4
by: Binh | last post by:
Hi, I write a C# to get information from a XML site, when I run my program at home, there's no problem. But when in office (no proxy, no firewall, port 80 is open), I've got this error: ...
12
by: Jerry Camel | last post by:
Not sure if this is a good place to post this... I'm writing and ASP.net app using vb .net. I need to interact with a credit card reader. I have one that sits inline with the keyboard. Works...
3
by: Sells, Fred | last post by:
I'm using MSW XP Pro with Python 2.4 to develop but production will be Linux with Python 2.3. (could upgrade to 2.4 if absolutely necessary) I can also switch to Linux for development if...
5
by: neilphan | last post by:
Hi all, I have an application that uses input from a barcode reader via a USB port. My application works fine only if the application HAS FOCUS. If the user opens up another application (not...
0
by: Dale | last post by:
Access 2000 I have a check scanner from Magtek, (MicrImage) This is like a "point of sale" check scanner/credit card reader. Magtek furnished 2 ocx's (MTMicrImage.ocx & SaxComm8.ocx). They also...
0
tlhintoq
by: tlhintoq | last post by:
My project involves reading magstripe cards, capturing an ID number, then spinning off to do some other things including taking a photograph. 99% of this is done and good. All early phases of work...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.