Hi!
I've asked this before, but i didn't get any help.
I want to get the IP from the DialUp connection. I have no problems getting my local network ip with the command Winsock1.LocalIP but i realy needs the DialUp IP too!
Please help me!!
Printable View
Hi!
I've asked this before, but i didn't get any help.
I want to get the IP from the DialUp connection. I have no problems getting my local network ip with the command Winsock1.LocalIP but i realy needs the DialUp IP too!
Please help me!!
Have a look at the RemoteHostIP property of the Winsock control. This should give you what you are after.
Nope!
Didn't work!
I did it like this:
MsgBox Winsock1.RemoteHostIP, vbInformation
Or, should i do it another way??
But if I put LocalIP instead of RemoteHostIP, then i get an IP, but thats my LAN IP. But i want my DialUp/Internet IP.