VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get your REAL REMOTE IP address in the EASIEST WAY! All this snippet Relies on is the Inet componen

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.

Rate Get your REAL REMOTE IP address in the EASIEST WAY! All this snippet Relies on is the Inet componen



    MyIP = Inet1.OpenURL("http://pchelplive.com/ip.php")
    text1.Text = MyIP
text1.Text = Replace(text1, Chr(10), "")

Download this snippet    Add to My Saved Code

Get your REAL REMOTE IP address in the EASIEST WAY! All this snippet Relies on is the Inet componen Comments

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.

Post your comment

Subject:
Message:
0/1000 characters