Would you know it by your VNC connection tanking from having the ip-address rug pulled out from under it? Or is that connection maybe interfering w/the change?
-----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Phil Sayers Sent: Wednesday, March 19, 2008 9:01 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] WMI and updating ip addresses i'm not sure about windows2000 but with a user clicking around in windows xp, you can manipulate the IP address from dynamic to fixed without a reboot. maybe there's a WMI call you can use to "commit" your changes. or a NIC or IP reset/refresh function you can call after making changes to the IP info. -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Peter Osucha Sent: Wednesday, March 19, 2008 11:50 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] WMI and updating ip addresses Hi Guys, I've been reviewing a few online examples of programmatically setting a machine to have a Static IP address. The code seems to complete with no errors - however, the ip address never changes. Before I post any code, a basic question... The machine of interest doesn't have a keyboard/mouse/monitor - so I'm watching what happens over an UltraVNC connection. I imagine that if I set the machine to have a static ip address, it won't actually have that address until the next restart of the computer. Is that correct? Peter (I imagine I'll be posting code shortly). =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com