hi everyone
i want to have on my form my ip when i load it , i want to it to be writen on a label
can someone help me to do that
thank you all
Printable View
hi everyone
i want to have on my form my ip when i load it , i want to it to be writen on a label
can someone help me to do that
thank you all
Place a Winsock control on your form.Code:Private Sub Form_Load()
Label1.Caption = Winsock1.LocalIP
End Sub
If you are behind a router or something, that will return your LAN IP. If you want your internet IP then click the link in my signature.
Nice piece of work. :)Quote:
Originally Posted by DigiRev
Thanks, Hack. :cool:Quote:
Originally Posted by Hack