Dim myIP As System.Net.IPAddress
Dim myPC As String = System.Net.Dns.GetHostName()
Dim myIPAdres As String =
System.Net.Dns.Resolve(myPC).AddressList(0).ToString()MsgBox(myPC & "=" &
myIPAdres)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.