| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Toggle proxy setting in IE? |
From: "David P. Cravshaw"
It should work with a .vbs. You may need to be running IE 5.5+ for it to
work, but that's may only be related to the WMI script I posted a little
bit earlier. Note, you will need to restart IE for the setting below to
take effect.
What error does .vbs give?
dpc
"Mark.Lewis" wrote in message
news:809e1c.6bb3b3{at}harborwebs.com...
> DPC> I just found this over on the MS news servers in
> DPC> microsoft.public.scripting.wsh:
>
> DPC> set shell = createobject("wscript.shell") key = _
> DPC> "HKEY_CURRENT_USER\Software\" _
> DPC> & "Microsoft\Windows\CurrentVersion\" _
> DPC> & "Internet Settings\ProxyEnable"
> DPC> if MsgBox("Disable Proxy server?",vbYesNo) = vbYes then
> DPC> shell.regwrite key,CLng(0), "REG_DWORD"
> DPC> else
> DPC> shell.regwrite key,CLng(1), "REG_DWORD"
> DPC> end if
>
> i know this is going to sound very newbie but...
>
> what file extension goes with the above code?? .vbs gives an error... .wsh
says
> there's no script name specified... nothing i've found so far tells what
> extension goes on the source files...
>
> guess i know why i still do bat, btm and cmd files ;-)
>
> )\/(ark
>
--- BBBS/NT v4.01 Flag-5
> * Origin: (1:3634/12)* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45) SEEN-BY: 633/267 270 @PATH: 379/45 1 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.