Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to change IE proxy settings?

Status
Not open for further replies.

euskadi

Programmer
Oct 4, 2001
179
US
I have a laptop that I use at work and at home. At work I have to use advanced proxy settings (different ports for different protocols), at home I'm not on the proxy.

Rather than manually switch on and off the proxy, I'd like to write a script that I can run to switch my settings. Can anyone point me in a direction to get me started on which objects/methods I need to be working with?
 
Hi,

Maybe you can use Set IE = CreateObject("InternetExplorer.Application").
An other option is not to set the proxy using IE-Settings but changing then directly in the registry using:
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.RegWrite strPath, strValue, StrType


For more information on scripting Internet Explorer please check:
For more information on scripting with Wscript please check:
Hoping this posting is helping you on you're way

Grtz Hans If smile = vbFalse Then
MsgBox("Smile... Tomorrow will be worse!", ,"Smile...")
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top