?
Solved

Help! How to Disable / Enable Local Area Connection ?

Posted on 2004-09-18
5
Medium Priority
?
337 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 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Suggested Courses

770 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