vikrantkpr

Hello Friends

I am trying to change proxy settings for Internet explorer on fly.

I am setting the registry value at

Software\\Microsoft\\windows\\currentversion\\Internet Settings\\Connections

and i am Broadcasting the message WM_SETTINGCHANGE

using

SendMessageTimeout(HWND_BROADCAST,WM_SETTINGCHANGE,NULL,NULL,
SMTO_NORMAL,1000,&dwret);

Now the problem is that after everything above is done

Currently opened Internet Explorer instances use the same old proxy

& i have to close Internet Explorer & then reopen it to use the new proxy.

Any idea as to how the settings change can be done on fly without closing internet explorer & reopening

Regards



Re: Internet Explorer Extension Development Change Internet Explorer Proxy Settings on Fly

spo

On this page
http://www.codeproject.com/internet/changeproxy1.asp

are two examples.
The second one, using the InternetSetOption function, affects running Internet Explorer Instances.
Works fine everywhere but in Protected Mode in IE7 on Vista.




Re: Internet Explorer Extension Development Change Internet Explorer Proxy Settings on Fly

vikrantkpr

Hi

Thanks a lot , but on Vista it is almost always protected mode for internet explorer.

InternetSetOption is supposed to change IE settings so ideally it should change there as well.

Do i need to dig up Vista API for the same

Regards