i ma a little new to VB but i have some experience, anyway i am trying to make a program that will scan all programs using whatever ports they use and record them in a text file. That way i know what programs are using what ports. and not just ports on the local machine, that way i can possibly see if anyone is using a program to remotely view/control my desktop.

any and all help is appreciated.