PDA

View Full Version : Using 'ipconfig' data (W2K)



LRNGlnx
06-27-2002, 03:33 PM
With my cable modem, the provider uses DHCP. How can I grab the IP address from the 'ipconfig' command to post it to a remote web site so that I can access my machine away from home?

Thanx.

Jama
06-27-2002, 08:00 PM
<a target="_blank" href=http://www.dyndns.org/> Check this out.</a>

Jama

Jama
06-28-2002, 12:22 AM
I’ve found a more comprehensive list of Dynamic DNS Service providers.

<font color=blue> <a target="_blank" href=http://noeld.com/services.htm> Click here to view it. </a> </font color=blue>

Jama

ywhw
07-07-2002, 07:07 AM
or you could use this:

'find local machine ip
for each Config in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("Win32_NetworkAdapterConfiguration")
If VarType(Config.Ipaddress(0)) = 8 Then
thisip = Config.Ipaddress(0)
msgbox thisip
end if
next