Description: The first one: use the Winsock control (MSWINSCK.OCX), this method is currently the best, take up less resources, fast and without error. The second: use the Microsoft Internet Transfer Control (MSINET.OCX), the need to determine delay in the execution time of a request will once again get an error (but you can add yourself to judge). Third: Use the Microsoft Internet Control Control (IeFrame.dll), this approach because it uses the IE core, it is eating memory, a small program, the memory jumped 100 KB, but can not destroy occupied by memory, because as Microsoft' s relations there is currently no way to find low memory.
File list (Check if you may need any files):
GetPublicIP
...........\GetPublicIP.bas
...........\prjGetPublicIP.vbp
...........\frmGetPip.frx
...........\GetPublicIP.exe
...........\prjGetPublicIP.vbw
...........\frmGetPip.frm