![]() |
| ||
| Network LAN Connection to be Enabled/Disabled Hi To All, How can the Network LAN Connection to be Enabled/Disabled through Vb Code |
| ||
| Re: Network LAN Connection to be Enabled/Disabled This code actually "toggles" the connection, by retrieving it's current state, and then setting the opposite state..... but, in vb6 you'll need to add a reference to "Microsoft Shell Controls and Automation" before it will work for you, plus, you may need to change some variables to fit the name of your connection.... Dim objCP, objEnable, objDisable, colNetwork |
| ||
| Re: Network LAN Connection to be Enabled/Disabled Thanks For your help Mr.Comatose. |
| All times are GMT -4. The time now is 12:14 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC