Solved

Help! How to Disable / Enable Local Area Connection ?

Posted on 2004-09-18
5
336 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 100 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

728 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