By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,977 Members | 1,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,977 IT Pros & Developers. It's quick & easy.

Detect type of USB port - help

P: n/a
Hi there,

I need some help here.

Basically my PC has 6 USB ports (USB1, USB2, USB3, USB4, USB5 and USB6).

Just say I have 3 USB devices (Reader1, Reader2 and Reader3)

I would to create a program which can do this:-

a) Reader1 being plug into USB1, it will prompt me this message "Reader1 is
at USB1"

b) Reader2 being plug into USB6, it will prompt me this message "Reader2 is
at USB6"

c) Reader3 being plug into USB2, it will prompt me this message "Reader3 is
at USB2"

OR

is it there are no orders on detecting which reader at which port.

Example:

Reader1 plug into USB6, it will be show this message "Reader1 is at USB1"

While Reader1 is still at port USB1, I plug into Reader2 at USB5, it shows
me "Reader2 at USB2"

So which one?

Is there any examples in C++ or .net used to detect USB ports?

Any help, i am kind of confuse!

Cheers.
--
Regards,
Chua Wen Ching
Visit us at http://www.necoders.com
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.