need help with serial port control

D

Dave Cullen

I need help using the serial port under VB.NET. I found a control called
AxMSComm which I assume is the comm control, but there's no
documentation in my MSDN help. Where can I find descriptions of the
methods and properties of this control? And why doesn't MSDN have it?

Thanks
 
D

Dick Grier

Hi,

I suggest that you download DesktopSerialIO from my homepage. It is free,
and simple to use. If you want documentation in detail, I suggest my book
(see below, it also will give you details on MSComm, which is the axMSComm
control that you are seeing as "available."). There are licensing issues
with MSComm, that can be solved... But the easiest thing is to use a native
..NET object like my serial port class.

Another alternative is to download NETComm.ocx from my homepage. Both
DesktopSerialIO and NETComm.ocx include a simple example application in the
download.

If you upgrade to Visual Studio 2005 you will be able to use the built-in
System.IO.Ports class.

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

Dave Cullen

I wrote the program in C++ and used the MFC CreateFile instead. Well
documented and works fine. Thanks anyway.
 

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