COM Port

  • Thread starter Thread starter Scott M.
  • Start date Start date
S

Scott M.

I have several years of experience programming VB 6.0 and .NET (VB.NET), but
I have never had to write code that interacted with hardware before. How
can I retrieve information that is coming into the computer via a COM port?
 
Thanks, but I'm not looking for third party components. I am looking for
information on how I can do this myself.
 
Hi,

I have example code in my book (several variations), including a native .NET
class that P/Invokes the underlying Windows serial communications APIs. I
provide a free ActiveX control on my website called NETComm.ocx, designed to
make serial IO pretty easy. It wraps the functionality of MSComm32.ocx.
There are a number of serial classes available for download, to. One is on
http://msdn.microsoft.com/vbasic/downloads/samples/default.aspx.

Sax Software (www.sax.net) sells a .NET component that I have used, and they
provide a free version, with no extra features, too.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top