Click to See Complete Forum and Search --> : Please help!! Need to finish this ASAP.
ssrp
Mar 16th, 2001, 09:43 PM
Is there a way to change the IP address and subnet mask on a Windows 2000 workstation from VB? One cool thing about 2000 is that it doesn't require a reboot when you change these items. As a result I would like to write a small app. that changes the IP address and Subnet so that I don't have to go to the network properties applet.
Thanks!
Bill Crawley
Mar 20th, 2001, 08:38 AM
sorry this is a bit vague, but I think the easiest thing to do would be to first find manually, where in the registry these settings are held. I'd then change it manually to ensure it works. Then I'd use the writeprivateprofilestring API to these settings from within VB.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.