Enable/Disable Network Connections From VB

  • Thread starter Thread starter Bob Hiller
  • Start date Start date
B

Bob Hiller

VB6.0 SP5 Win2K
Is there any way to enable/disable network connections from VB. I have 2
network adapters that use identical settings. One is on a docking station
NIC card
and one is a PCMCIA NIC card. When the laptop is docked I need to enable
Connection #1 and disable Connection #2. When not docked, disable Connection
#1 and enable Connection #2. At a minimum, is there a registry setting that
will do it?

Thanks,
Bob Hiller
 
No, that has to be done in the configuration of DOCKED and UNDOCKED hardware
profiles when the PC is running in that mode.

--
Regards,

Jim Hungerford, A+, MCP
http://www.screenshotmovies.com
Screenshot FLASH movies for Technical Support
 
Back
Top