Change IP-Settings on Windows 2000 
Author Message
 Change IP-Settings on Windows 2000

Is there a way to change the TCP/IP Address (and SubnetMask,
DefaultGateway, etc.) from a VB6 Application. At Windows NT 4.0 I write
the Changes to the Registry, and after a Reboot it works fine.
In Windows 2000 I don't wont to reboot.
Is there a way to change these Parameter? (API-Call)

Thanks!



Sun, 05 Jan 2003 03:00:00 GMT  
 Change IP-Settings on Windows 2000

I don't what the API calls for this are, but as a temporary solution you
could use SHELL or CREATEPROCESS() to launch NETSH.EXE.  Use NETSH /? for
the syntax.


Quote:
> Is there a way to change the TCP/IP Address (and SubnetMask,
> DefaultGateway, etc.) from a VB6 Application. At Windows NT 4.0 I write
> the Changes to the Registry, and after a Reboot it works fine.
> In Windows 2000 I don't wont to reboot.
> Is there a way to change these Parameter? (API-Call)

> Thanks!



Sun, 05 Jan 2003 03:00:00 GMT  
 Change IP-Settings on Windows 2000
Windows 2000 has the addIPaddr and deleteIP address calls, althought there
is a post on this NG where someone is trying to use them and is getting an
error returned

Ron


Quote:

> I don't what the API calls for this are, but as a temporary solution you
> could use SHELL or CREATEPROCESS() to launch NETSH.EXE.  Use NETSH /? for
> the syntax.



> > Is there a way to change the TCP/IP Address (and SubnetMask,
> > DefaultGateway, etc.) from a VB6 Application. At Windows NT 4.0 I write
> > the Changes to the Registry, and after a Reboot it works fine.
> > In Windows 2000 I don't wont to reboot.
> > Is there a way to change these Parameter? (API-Call)

> > Thanks!

______________________________________________________________________
Posted Via Uncensored-News.Com - Still Only $9.95 - http://www.*-*-*.com/
 With Servers In California, Texas And {*filter*}ia - The Worlds Uncensored News Source


Fri, 10 Jan 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Change windows 98 network IP settings (static to dhcp)

2. Update DNS Host IP in a Zone - Windows 2000 Server

3. Setting the Gateway IP (in TCP/IP Settings) via program

4. TCP/IP Address (Windows 2000)

5. HELP - Setting encoding of Message subject in CDO 2000 to windows-1251 (or koi8-r)

6. Auto-Create ODBC settings on Windows 2000

7. HELP - Setting encoding of Message subject in CDO 2000 to windows-1251 (or koi8-r)

8. Auto-Create ODBC settings on Windows 2000

9. Change Office 2000 Language Settings

10. Word 2000 from within VB: Windows 2000: error, Windows ME: ok

11. Change orientation to Landscape in Windows 2000 (VB3)

12. How to change the Windows 2000 regional options in VB application

 

 
Powered by phpBB® Forum Software