Enable/Disable Network Connections From VB

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
 
J

Jim Hungerford

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top