Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant archive_postsperpage - assumed 'archive_postsperpage' (this will throw an Error in a future version of PHP) in ..../archive/index.php on line 456
IP Finder [Archive] - Forums

PDA

View Full Version : IP Finder



Jack
04-12-2007, 02:27 AM
well heres a simple tutorial to find your ip in vb with a single click

Make a form

Add component microsoft winsock control

rename it to ws

then put this in your form

Private Sub Form_Activate()

Unload Me
End Sub


Private Sub Form_Initialize()

MsgBox "Your IP : " & WS.LocalIP & vbCrLf & "Your Host Name : " & WS.LocalHostName, vbInformation, ""
End Sub

Kornholijo
04-12-2007, 11:18 PM
This will show your local ip, if you have router, it wont work :p

Jack
04-13-2007, 02:21 AM
yer this is local ip