Results 1 to 4 of 4

Thread: Identifying 'USB Com Ports'

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2010
    Posts
    54

    Identifying 'USB Com Ports'

    Hi All,

    I have a legacy hardware design that I recently 'updated' with a USB interface using an FTDI Serial-to-USB IC. These COM ports show up in the Windows Device Manager as 'USB Serial Port (COMx)'. Of course I can identify active COM ports and communicate with them using my existing code, but I would like to go beyond that, and actually identify the USB Serial Ports. I don't see that MSCOMM allows me access to this additional information. How would I go about obtaining this information?

    Thanks,

    John

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Identifying 'USB Com Ports'

    "Identify" in what ways?

    Have you looked at https://www.vbforums.com/showthread....d-or-LPT-ports yet?

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2010
    Posts
    54

    Re: Identifying 'USB Com Ports'

    Hi,

    Sorry, I should have been more clear. I mean not just find available COM ports, which I can do now, but also return the textual description displayed by the Device Manager.
    It looks like the EnumPorts class will do what I need! I'll investigate on Monday, and close the thread if I'm successful!

    Thanks!

    John

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Identifying 'USB Com Ports'

    Or perhaps use it as an example to help write your own code to call those APIs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width