I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks.
In starting the app I need to discover available ports on the machine, which I can do with this code.
myPort = IO.Ports.SerialPort.GetPortNames() 'Get all com ports available For i = 0 To UBound(myPort) portChoice.Items.Add(myPort(i)) Next
On my machine, it fills the combobox with COM1 and COM9. But...
If I go into the control panel, I can see "Arduino Mega" on COM9.
This is what I want to discover. This way the end user does NOT have to be geeky enough to use the control panel or work at setting the system up with each set up.
Any ideas that will point me in the right direction guys?