Is there any MSComm in Visual Basic . Net

  • Thread starter Thread starter Gurinder
  • Start date Start date
G

Gurinder

Hi,

Do you know how to use serial port in VisualBasic.Net and
what is the object name to use.

Thanks,
Gurinder
 
Hi Gurinder,

There's no serial port class the .NET Framework. If you're familiar with
MSComm then you can still use it. Add a refernce to it in your project,
Imports it into your code and do what you know.

Here's a page with a list of links regarding serial access. It's in German
but the links are just as valid.
http://makeashorterlink.com/?M2FE42E83

Regards,
Fergus
 
Hello,

Fergus Cooney said:
There's no serial port class the .NET Framework. If you're
familiar with MSComm then you can still use it. Add a
refernce to it in your project, Imports it into your code
and do what you know.

There may be a bug because design time licenses are missing:

Q318597 - PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic
..NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;318597
Here's a page with a list of links regarding serial access. It's in German
but the links are just as valid.
http://makeashorterlink.com/?M2FE42E83

LOL
 
Hi,

You can download NETComm.ocx from my homepage. It wraps MSComm32.ocx, so
that it may be used without any restrictions under .NET. See the other
replies for other links.

--
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