Solved

What com ports and what com name assigned????

Posted on 2002-03-20
2
134 Views
Last Modified: 2010-05-02
How do I identify what comm ports are on a PC as shown in Control Panel/System ?
This code will be used on all Windows Platforms.
0
Comment
Question by:visualbasic
2 Comments
 
LVL 4

Expert Comment

by:inpras
ID: 6882685
Get the registry value
HKEY_LOCAMACHINE/HARDWARE/DEVICEMAP/SerialComm/

you will get all the ports installed on the system
Hope this helps
inpras
0
 
LVL 20

Accepted Solution

by:
hes earned 50 total points
ID: 6882971
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS SQL store procedure to calculate and return result 6 68
Macro Excel - Multiple If conditions 2 87
Child Form in front 4 56
MsgBox 4 71
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question