Hi,
Is there a way to get a list of available COM ports with their names - like in a Device Manager?
I've only found some C# solutions. I can read it from the registry
HKEY_LOCAL_MACHINE\hardware\devicemap\serialcomm
but there are no names, just a plain list.
Any help would be appreciated.
Tomáš
This looks promising. I will give it a try.
Regards,
Tomáš
I had to use this googled select:
SELECT * FROM Win32_PnPEntity WHERE Caption like '%(COM%'
for ExecQuery.
But still, thank you very much for your code, it was really helpful. Now I can make it work.
Regards,
Tomáš