Namaskar Prasad,
You can Get the number of COM ports from Registry key
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM
There is one Value for one COM port
Access Registry.
Thank You
Krishna
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Threaded View
|
Click Here to Expand Forum to Full Width |