use System.Management classes to do it. Writing WMI queries. Have a look at it and if you are stuck let me know and i will give you some code.
OK, I have everything working except that I need to split the IP address into its 4 octets and have each octet populate the 4 textboxes. Here is my code for it so far. I have the whole IP in the first textbox:
My variable is:
'To get local IP address
Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName)
'
And in the area for the text box:
Me.TextBox1.Text = h.AddressList.GetValue(0).ToString