CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: usb ports

  1. #1
    Join Date
    Jun 2010
    Posts
    115

    Exclamation usb ports

    Is there way to check how many usb ports are available on a computer ? thank you

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

  3. #3
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: usb ports

    This'll only list actual ports in the machine. You can split ports and daisy chain USB devices.
    The total number of USB devices in a PC can be considerably larger than the number of ports you can detect.

  4. #4
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: usb ports

    Yes, you can look under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

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

Featured