In one of my VB6 apps it uses API, mainly NetServerEnum to get the names of the PCs on the LAN, and GetHostByName to get the IP of a PC by its name, its super fast, I got the codes from vbnet.mvps.org, network section, tho it is vb6 code.