PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET need help with serial port control

Reply

need help with serial port control

 
Thread Tools Rate Thread
Old 21-12-2005, 02:02 PM   #1
Dave Cullen
Guest
 
Posts: n/a
Default need help with serial port control


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
  Reply With Quote
Old 21-12-2005, 03:20 PM   #2
Moshazu
Guest
 
Posts: n/a
Default Re: need help with serial port control

What version of .NET?

  Reply With Quote
Old 21-12-2005, 06:35 PM   #3
Dave Cullen
Guest
 
Posts: n/a
Default Re: need help with serial port control

Version 7.0 dated 2002



Moshazu wrote:
>
> What version of .NET?

  Reply With Quote
Old 21-12-2005, 07:26 PM   #4
Dick Grier
Guest
 
Posts: n/a
Default Re: need help with serial port control

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.


  Reply With Quote
Old 23-12-2005, 04:17 PM   #5
Dave Cullen
Guest
 
Posts: n/a
Default Re: need help with serial port control

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



Dick Grier wrote:
>
> 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.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off