Does Any One Know how/If I can change my network settings from VB?

I have a laptop that is used @ a remote office to VPN to a server. I use the DSL Router to assign (DHCP) a IP address to the laptop. When the laptop is used @ the office I need to assign it a static IP on the LAN.

I was hoping to make a little app to switch the setting based on where the user was logging in.

any suggestions ?

LJ