by xyr0x (7 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 30th April 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Get your REAL REMOTE IP address in the EASIEST WAY! All this snippet Relies on is the Inet component! Dont waste your time, with 100's of
API Declarations
Which is found in your vB Component addition tab... Locate the Microsoft Internet Transfer Protocol. (This is the Inet controller) hence this remarking is for the beginners.
What you'll need:
1 form
1 TextBox
1 Inet control .....and the following 'simple' code snippet.
'note I usually put this in the form load, but it's universal - you can add it to a button, and have it destinate in any textbox field of your choice.
MyIP = Inet1.OpenURL("http://pchelplive.com/ip.php")
text1.Text = MyIP
text1.Text = Replace(text1, Chr(10), "")
No comments have been posted about Get your REAL REMOTE IP address in the EASIEST WAY! All this snippet Relies on is the Inet componen. Why not be the first to post a comment about Get your REAL REMOTE IP address in the EASIEST WAY! All this snippet Relies on is the Inet componen.