?
Solved

Help! How to Disable / Enable Local Area Connection ?

Posted on 2004-09-18
5
Medium Priority
?
339 Views
Last Modified: 2013-11-15
Can anybody know how to make a code for disable / enable Local Area Connection using Visual Basic ?
i had searching everywhere and i cannot find one..
i hope u all will help me to solve this problem..
0
Comment
Question by:sneak_nakata
  • 3
  • 2
5 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 400 total points
ID: 12096462
Take a look to this previous question:
http://www.experts-exchange.com/Programming/Q_20648190.html
0
 

Author Comment

by:sneak_nakata
ID: 12110264
thanks jaime! it help me and very useful.. :)
0
 

Author Comment

by:sneak_nakata
ID: 12151629
if someone rename the Local Area Connection, maybe we got problem here.. to disable / enabled..
so do u know the best way we can know Local Area Connection without using it's name...??
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12151640
You can find the name into the registry. Make a search of the current name and you will find where you have to query.
0
 

Author Comment

by:sneak_nakata
ID: 12153395
ohh i found that.. and then

it's gave me this..

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{284B4C06-D624-4317-8391-BFA108F5C7F\Connection}

but the problem is.. {4D36E972-E325-11CE-BFC1-08002BE10318}\{284B4C06-D624-4317-8391-BFA108F5C7F} this one is random number right? and diffrent from other pc right??
 i need to know actual Local Area Connection name about 240 pc... so i just want to make sure it can be use generally...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question