From: Ron H on
How can I get a list of available serial ports from Windows? I need to have
my user select from the list.

Ron H.


-----------------
www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
Access your favorite newsgroups from home or on the road
-----------------
From: David Lowndes on
>How can I get a list of available serial ports from Windows? I need to have
>my user select from the list.

You could try this:
http://www.codeproject.com/KB/system/enumports.aspx

Dave
From: Henryk Birecki on
Serial port list is in registry

HKEY_LOCAL_MACHINE\\DEVICEMAP\\SERIALCOMM

For Win CE machines
HKEY_LOCAL_MACHINE\\Drivers\\Active

In addition there is a GPS interface for WinMobile 5 and higher (read
about Intermediate GPS Driver)

There are cases where OEMs do not put information in the registry, so
make your selection box a DropBox, not DropList so user can type
something in.

Cheers,
Henryk Birecki


David Lowndes <DavidL(a)example.invalid> wrote:

>>How can I get a list of available serial ports from Windows? I need to have
>>my user select from the list.
>
>You could try this:
>http://www.codeproject.com/KB/system/enumports.aspx
>
>Dave