object to disconnect pc from internet?

Sunday, July 9, 2006 by crumby | Discussion: DesktopX

Hi everyone,
I'm kind of new at this, but I am picking up on it really quick. I made all sorts of objects to do my bidding because I want to get rid of my start bar on bottom. I have icons that will connect me to the internet. But I have no idea how to make one that will actually turn off the connection. Cause you know closing explorer doesn't do it! If anyone has a clue, please let me know. Oh, and I wanted to make one for my task manager too, but I can't seem to get it pointed to the right place. Will gladly take help fo either problem.
Thanks crumby
Phoon
Reply #1 Sunday, July 9, 2006 9:58 PM
Dial Up or High Speed?
Reppiks
Reply #2 Sunday, July 9, 2006 10:58 PM
The path to the task manager in XP home is "C:\WINDOWS\system32\taskmgr.exe" provided your OS is installed on the "C" drive, point your shortcut to there.
crumby
Reply #3 Sunday, July 9, 2006 11:26 PM
Phoon,
It's dial up. Hate the slowness, but they don't have access to DSL up here.

Reppiks,
Thanks alot!

Bichur
Reply #4 Monday, July 10, 2006 12:50 AM
i use dialup and this: https://www.wincustomize.com/ViewSkin.aspx?SID=1&SkinID=3916&LibID=29

then i can right click my icon and choose disconnect
SirSmiley
Reply #5 Monday, July 17, 2006 2:12 PM
Here's a simple vbscript. You need to adjust it to dxscript.

set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rasdial [connection name] [username] [password]", 1, true

(fill in the [] parts) To connect

and

set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rasdial /disconnect", 1, true

Source: http://groups.google.com/group/microsoft.public.scripting.wsh/browse_thread/thread/872e649ff506c6e5/1de53946e718a903%231de53946e718a903"]http://groups.google.com/group/microsoft.public.scripting.wsh/browse_thread/thread/872e649ff506c6e5/1de53946e718a903%231de53946e718a903

Or You can try Gunter Borne's ActiveX control http://people.freenet.de/gborn/WSHBazaar/WSHBazaar.htm

PS. Change 1 to 0 if you don't want command window to popup.
thomassen
Reply #6 Monday, July 17, 2006 5:10 PM
That's a neat script. I think that should be added to the Wiki.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01