I am making a file sharing application, using the winsock tool in VB6. I have tried a number of ways so far, including winsock1.LocalIP, but this returns the incorrect IP. I need the IP that is in WINIPCFG, and no other. Is there anyway i can extract the ip from the winipcfg file? I really need some assistance!!