USB Device Identification & Comport Mapping

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have a USB gadget that appears to Windows as a USB serial port, there is no special driver.
 
I know the USB Vendor ID, and the USB Product ID, I need 1 or 2 functions:
 
First:    IsThisUsbDevicePresent( Vendor_ID, Product_ID )
 
Second: Some means of transforming the above into "COM1" or "COM9" or what ever it is so I can call it.
 
Any suggestions?
 
Im pretty sure, its just a matter of knowing where to look in the WIndows registry...
 
And that- should be doable from VB...
 
-Duane
 
 

View the full article
 
Back
Top