Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I get comm port friendly name with API using VB6
Posted

1 solution

You need to use the com API functions in kernel32.dll

Here are some links with some examples:

http://www.a1vbcode.com/snippet-407.asp[^]
and http://www.andreavb.com/tip040001.html[^]

This Microsoft article http://support.microsoft.com/kb/823179[^] provides lots more information but is based on VB.NET

Which leads nicely to my final recommendation - do this in .NET. The Express versions are free (unlike VB6) and the technology is current (unlike VB6). It will work in the current versions of Windows (unlike VB6 IDE). Have a look at the free download[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900