Then you want this ...
http://vbnet.mvps.org/code/enums/enumports.htm
--
Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"ST" <ST@notvalid.dk> wrote in message
news:41*********************@dread16.news.tele.dk. ..
: What this code does, is giving me the active ports on the computer. Not
the
: amount of installed ports on the computer.
:
:
: "Randy Birch" <rg************@mvps.org> wrote in message
: news:Ar*********************@twister01.bloor.is.ne t.cable.rogers.com...
: > like this? ...
http://vbnet.mvps.org/code/system/comtestmscomm.htm or
: >
http://vbnet.mvps.org/code/system/comtestapi.htm
: >
: > --
: >
: > Randy Birch
: > MVP Visual Basic
: >
http://vbnet.mvps.org/
: > Please respond only to the newsgroups so all can benefit.
: >
: >
: > "ST" <No*@valid.com> wrote in message
: > news:41*********************@dread16.news.tele.dk. ..
: > :I want my program to show the number and name of the serial ports on my
: > : computer in the same style at e.g. Hyperterminal. Like,,,if the
computer
: > has
: > : 2 serial ports there will only be 2 serial ports on the list,,,or 10
if
: > the
: > : computer has 10.
: > :
: > : Any suggestions on how this can be done ?
: > :
: > :
: >
:
: