it is possible to call netsh command line to change ip address in local computer. but i don't want to use this idea. Is there any other methord changing ip address? IP-HELP library can get ip infomation easily,but can not set ip address permanent. when reboot may be lose ip configuation. If I modify windows registry directly ,It seemed that windows system can not take the ip address value instantly.How can i let windows response my changing ?
This questions was asked and answered hundreds of times. http://groups.google.com/group/microsoft.public.win32.programmer.networks/browse_thread/thread/a7bedd27369234c2/f7ed58ae0257dbd1?lnk=gst&q=how+to+set+IP+programmatically#f7ed58ae0257dbd1 -- Volodymyr NG tips: http://msmvps.com/blogs/v_scherbina/pages/microsoft-newsgroups-tips.aspx "Green" wrote in message news:eMqJDssQIHA.5136@TK2MSFTNGP04.phx.gbl... > it is possible to call netsh command line to change ip address in local > computer. > but i don't want to use this idea. > > Is there any other methord changing ip address? > > IP-HELP library can get ip infomation easily,but can not set ip address > permanent. when reboot may be lose ip configuation. > > If I modify windows registry directly ,It seemed that windows system can > not take the ip address value instantly.How can i let windows response my > changing ? >
Thank you! i should search first! "Volodymyr Shcherbyna" дÈëÏûÏ¢ news:ewjbD$ZRIHA.5976@TK2MSFTNGP05.phx.gbl... > This questions was asked and answered hundreds of times. > > http://groups.google.com/group/microsoft.public.win32.programmer.networks/browse_thread/thread/a7bedd27369234c2/f7ed58ae0257dbd1?lnk=gst&q=how+to+set+IP+programmatically#f7ed58ae0257dbd1 > > -- > Volodymyr > NG tips: > http://msmvps.com/blogs/v_scherbina/pages/microsoft-newsgroups-tips.aspx > > "Green" wrote in message > news:eMqJDssQIHA.5136@TK2MSFTNGP04.phx.gbl... >> it is possible to call netsh command line to change ip address in local >> computer. >> but i don't want to use this idea. >> >> Is there any other methord changing ip address? >> >> IP-HELP library can get ip infomation easily,but can not set ip address >> permanent. when reboot may be lose ip configuation. >> >> If I modify windows registry directly ,It seemed that windows system can >> not take the ip address value instantly.How can i let windows response my >> changing ? >> > >