Solved

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

Posted on 2002-03-20
2
131 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

786 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