Christineeve
Programmer
Here is my code, the IP address is returned as a alpha instead of a number. Can anyone see what I might be doing wrong?
Thank you for any help.
Christine
Code:
Private Sub GetIPAddress()
Dim strHostName As String
Dim myIPAddress
strHostName = System.Net.Dns.GetHostName()
myIPAddress = System.Net.IPAddress.Broadcast
MessageBox.Show("Host Name: " & strHostName & "; IP Address: " & myIPAddress)
End Sub
Thank you for any help.
Christine