|
-
March 21st, 2005, 04:55 AM
#1
[SOLVED] How to disable a LAN connection?
Is there any way to emulate the enable/disable button of the Status connection window for a LAN?
In other words, I have a PC connected via Ethernet+router to Internet and I want to disconnect it for a period and then connect it again.
I searched in MSDN but all I found was RasDialUp/RasHangUp for dial up connections. I'm not able to find anything on LAN connections.
Thanks
Last edited by DeepButi; December 30th, 2007 at 10:07 AM.
Did it help? rate it.
The best conversation I had was over forty million years ago ... and that was with a coffee machine.
-
March 21st, 2005, 05:26 AM
#2
Re: How to disable a LAN connection?
You want to disable from the desktop or from the code. If from the desktop, go to nettowk neighbourhood icon , right click . You can see local area connection. just right click and disable lan connection.
Sapp
-
March 21st, 2005, 05:39 AM
#3
Re: How to disable a LAN connection?
sapp,
I want to disable it from code.
Thanks
Did it help? rate it.
The best conversation I had was over forty million years ago ... and that was with a coffee machine.
-
March 22nd, 2005, 09:51 AM
#4
Re: How to disable a LAN connection?
I guess you could with the console... If you can send commands to the console you could always ipconfig and then /release the adapter you want.
Nicolas Bohemier
-
March 23rd, 2005, 05:01 AM
#5
Re: How to disable a LAN connection?
-
December 27th, 2007, 05:09 AM
#6
Re: How to disable a LAN connection?
Any help on translating this nice script code to VB code?
Problems come back, always come back!
Did it help? rate it.
The best conversation I had was over forty million years ago ... and that was with a coffee machine.
-
December 27th, 2007, 01:24 PM
#7
Re: How to disable a LAN connection?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|