Solved

Help! How to Disable / Enable Local Area Connection ?

Posted on 2004-09-18
5
330 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 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
How to fix error ""Failed to validate the vCentre certificate. Either install or verify the certificate by using the vSphere Data Protection Configuration utility" when you are trying to connect to VDP instance from Vcenter.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now