By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,191 Members | 1,411 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,191 IT Pros & Developers. It's quick & easy.

How to transmit data on a serial port ?

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Add license for MSComm control
http://support.microsoft.com/default...b;en-us;318597

Access comm port with vb.net
http://support.microsoft.com/default...b;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
--------------------------

"Rasha" <ra*******@yahoo.fr> wrote in message
news:Oe**************@TK2MSFTNGP09.phx.gbl...
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


Nov 21 '05 #2

P: n/a
Hi,

Add license for MSComm control
http://support.microsoft.com/default...b;en-us;318597

Access comm port with vb.net
http://support.microsoft.com/default...b;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
--------------------------

"Rasha" <ra*******@yahoo.fr> wrote in message
news:Oe**************@TK2MSFTNGP09.phx.gbl...
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


Nov 21 '05 #3

P: n/a
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.
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.