you should depend on a third party web page or like that, because the internet ip is only known by the router or any server that accept incoming request from this router, so the sequence will be : the webpage recive the ip, you download the webpage and parse it to get the ip.
for dial-up it's vey easy as you may know ... it's exactly like getting the local ip for lan network.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista
**Hack I didin't know you, I think it's a new member here lol
well BlackOut I'm afraid but the page opens here so try again maybe the server was down yesterday..
jggtz : what about sharing the source code ?
Hack : winsock can't help because it will return the local network IP not the internet IP, actually the PC can't know byitself it's internet IP, but the router do, so we need just interact with the router or any webserver to get the IP, doing that from a webpage maybe be a valid solution.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista
Yes this is the another solution of depending on a third-party webpage, like the one used here :
"http://vbnet.mvps.org/resources/tools/getpublicip.shtml"
just open it in your browser it should diplay your IP somehow, use the inet to download it then parse it and extract the ip from it...
Bookmarks