

all the valid port number, but no vendor info or product infoīut I can't find a method to match those two together.

'this will popup msgbox with "COM1" or "COM3". The MessageDialog class provides a bit more features. The easiest way is to use the MessageBox method. 'this will give you a message box with "FTDI-0403 FT232R USB UART-6001 A60251HV"Īlso, with help of, I can get the COM port name for serial device.Ĭount = System.SerialPortCount for i = 0 to count - 1 There are several ways you can create dialog boxes in your apps. I use MonkeyBread plugin, WinUSBDeviceMBS, with property of VendorID and ProductID, I can select specific USB port. I am writing a simple code to find the USB to serial port in Windows platform, if the port is what I want (can be filt by VID/PID number), then the program will open the port.
