• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

Help! How to Disable / Enable Local Area Connection ?

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
sneak_nakata
Asked:
sneak_nakata
  • 3
  • 2
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
Take a look to this previous question:
http://www.experts-exchange.com/Programming/Q_20648190.html
0
 
sneak_nakataAuthor Commented:
thanks jaime! it help me and very useful.. :)
0
 
sneak_nakataAuthor Commented:
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
 
Jaime OlivaresSoftware ArchitectCommented:
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
 
sneak_nakataAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now