Re: Serial ports.
- From: "TClancey" <tull@xxxxxxxxxxxxxxxx>
- Date: Thu, 30 Nov 2006 11:21:01 -0000
Sorry I see what you mean now.
However if I try
Dim p() As String
p = IO.Ports.SerialPort.GetPortNames
MsgBox(UBound(p))
All I get is '0'
"Dick Grier" <dick_grierNOSPAM@.msn.com> wrote in message
news:%23PVr90xEHHA.2356@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
The PortName method returns a String array of installed ports. You can
download example code from my homepage that illustrates this.
***
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
.
- Follow-Ups:
- Re: Serial ports.
- From: *** Grier
- Re: Serial ports.
- References:
- Serial ports.
- From: TClancey
- Re: Serial ports.
- From: *** Grier
- Serial ports.
- Prev by Date: Re: Serial ports.
- Next by Date: Re: VB vs. C# language challenge question
- Previous by thread: Re: Serial ports.
- Next by thread: Re: Serial ports.
- Index(es):
Loading