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.
<a target="_blank" href=http://www.dyndns.org/> Check this out.</a>
Jama
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
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
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.