How to transmit data on a serial port ?

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
 
K

Ken Tucker [MVP]

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
 
D

Dick Grier

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.
 

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

Top