PDA

View Full Version : How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa?


Marco
August 20th 04, 01:36 AM
How to automatically configure the Network settings of a specific LAN card
from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
Any suggestion? Thanks!

CJT
August 20th 04, 02:07 AM
Marco wrote:

> How to automatically configure the Network settings of a specific LAN card
> from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
> Any suggestion? Thanks!
>
>

Automatically in what sense? Remotely? Via code run at the machine
containing the NIC?

What keeps you from setting up via the software provided by the NIC
manufacturer or afterwards through My Computer -> Network ?

--
The e-mail address in our reply-to line is reversed in an attempt to
minimize spam. Our true address is of the form .

Marco
August 20th 04, 02:15 AM
sorry! via code!

"CJT" > ??? ???...
> Marco wrote:
>
> > How to automatically configure the Network settings of a specific LAN
card
> > from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
> > Any suggestion? Thanks!
> >
> >
>
> Automatically in what sense? Remotely? Via code run at the machine
> containing the NIC?
>
> What keeps you from setting up via the software provided by the NIC
> manufacturer or afterwards through My Computer -> Network ?
>
> --
> The e-mail address in our reply-to line is reversed in an attempt to
> minimize spam. Our true address is of the form .

John Phillips
August 20th 04, 07:48 PM
Check out the EnableDHCP(), EnableStatic(), SetGateways(), and
SetDNSServerSearchOrder() WMI methods.

--
John Phillips
MVP - Windows SDK



"Marco" > wrote in message
...
> How to automatically configure the Network settings of a specific LAN card
> from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
> Any suggestion? Thanks!
>
>