How to transmit data on a serial port ?

  • Thread starter Thread starter Rasha
  • Start date Start date
R

Rasha

Hi,

What is the right way for transmitting data on the serial port of a PC using
VB.NET (under XP) ?

I used to use the ActiveX MSComm under VB6, which becomes obsolete and needs
a certification, only available if Visual Studio 6 is installed.

Thanks for any Help !!!

Rasha
 
Hi,

Add license for MSComm control
http://support.microsoft.com/default.aspx?scid=kb;en-us;318597

Access comm port with vb.net
http://support.microsoft.com/default.aspx?scid=kb;en-us;823179

If you have a copy of the vb.net resource kit there is the free sax.net
community edition control which is for communicating through the comm port.
The vb.net resource kit offer has expired and is no longer available.

Ken
--------------------------

Hi,

What is the right way for transmitting data on the serial port of a PC using
VB.NET (under XP) ?

I used to use the ActiveX MSComm under VB6, which becomes obsolete and needs
a certification, only available if Visual Studio 6 is installed.

Thanks for any Help !!!

Rasha
 
You can download NETComm.ocx from my homepage, or use any one of several
free .NET DLLs that are available on the web (I also have one in my book --
see below). A good solution is the Community Serial control that is part of
the free VB .NET Resource Kit (download from Microsoft).

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