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
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