Serial Communications

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone have an example, using VB.Net,showing how to communicate with a
serial port. I have my computer hooked to a box that has a print button on
it. When the print button is pushed on the box I would like for an event to
be fired in my program so that I could handle the data from there. mscomm is
very easy to use in VB6. Is there something comparable in VB.Net.

Thanks for any Help
DCS Tech
 
Some time ago I was also looking fir a good serial port communication.
After spending too much time searching for code that was reliable, I
downloaded the VS.NET 2005 Bèta. It's so much easier than all that stuff
that is arround, and it works great :-)
 
Hi,

I have lots of examples in my book (see below). You can download NETComm
from my homepage -- the API is almost that of MSComm, for obvious reasons.
The code in my book has both native .NET, ActiveX, and other .NET add-ons.

There also are a number of examples online.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Back
Top