I search for vbscript (or small utility) to switch IE proxy (On/Off) for the current connection (modem).

Saku.

Re: Switch proxy (On/Off) by Dave

Dave
Sun Sep 10 10:01:31 CDT 2006

Sets it to ON;
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ProxyEnable", 1, "REG_DWORD"

Sets it to OFF;
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ProxyEnable", 0, "REG_DWORD"

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Saku Ruokolahti" wrote:
|I search for vbscript (or small utility) to switch IE proxy (On/Off) for
the current connection (modem).
|
| Saku.



Re: Switch proxy (On/Off) by Saku

Saku
Sun Sep 10 10:46:15 CDT 2006

Dave Patrick wrote:
> Sets it to ON;
> Set WshShell = CreateObject("WScript.Shell")
> WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
> Settings\ProxyEnable", 1, "REG_DWORD"
>
> Sets it to OFF;
> Set WshShell = CreateObject("WScript.Shell")
> WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
> Settings\ProxyEnable", 0, "REG_DWORD"
>

Thanks Dave Patrick,
but this VBS changes LAN settings, NOT current Dial-Up connection!

Saku.

Re: Switch proxy (On/Off) by Dave

Dave
Sun Sep 10 10:52:12 CDT 2006

Sorry, then I've no idea what you're after.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Saku Ruokolahti" wrote:
| Dave Patrick wrote:
| > Sets it to ON;
| > Set WshShell = CreateObject("WScript.Shell")
| > WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
| > Settings\ProxyEnable", 1, "REG_DWORD"
| >
| > Sets it to OFF;
| > Set WshShell = CreateObject("WScript.Shell")
| > WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
| > Settings\ProxyEnable", 0, "REG_DWORD"
| >
|
| Thanks Dave Patrick,
| but this VBS changes LAN settings, NOT current Dial-Up connection!
|
| Saku.