Hi gang,

How do you populate a listbox with all available LPT,Com and USB ports?

I'd like to use a Form, and on form load, collect all LPT, Serial and USB ports on the current system and have them populate a listBox on the form.

Has anyone got a snippet?