Activating IE proxy settings...?
-
Hello, I have a web server (a service) that acts as a proxy to translate web pages from English to Swedish. In order for this to work, I need to set the appropriate values of proxy server and port and activate "Use a proxy server" in IE->Internet Options->Connections->LAN Settings->Advanced. Now, activating and deactivating frequently will become a pain in the ass jumping to the options dialog all the time, so I figured I could create an IE toolbar button that would do this programmatically. This turned out to be more complicated than I thought... I can change the options programmatically (at IE runtime) but the changes don't seem to be reflected appropriately. I was trying to simulate the [de]activation behaviour of IE when doing it manually, but something seems to be missing. Manually my proxy kicks in just fine, but not programmtically... all options are set and visually it all looks fine. Has somebody dealt with this or does anyone know how to do this? ANy pointers to material on this would be appreciated, TIA, /Tommy
-
Hello, I have a web server (a service) that acts as a proxy to translate web pages from English to Swedish. In order for this to work, I need to set the appropriate values of proxy server and port and activate "Use a proxy server" in IE->Internet Options->Connections->LAN Settings->Advanced. Now, activating and deactivating frequently will become a pain in the ass jumping to the options dialog all the time, so I figured I could create an IE toolbar button that would do this programmatically. This turned out to be more complicated than I thought... I can change the options programmatically (at IE runtime) but the changes don't seem to be reflected appropriately. I was trying to simulate the [de]activation behaviour of IE when doing it manually, but something seems to be missing. Manually my proxy kicks in just fine, but not programmtically... all options are set and visually it all looks fine. Has somebody dealt with this or does anyone know how to do this? ANy pointers to material on this would be appreciated, TIA, /Tommy
I like the approach being used in Proxomitron (a popup/midi/ad remover). It is not intrusive, because you point your browser to it and Proxomitron allows you to redirect it to another proxy. This way, in Proxomitron you have a "ByPass" checkbox that disables its use, but still mantains the user's original proxy working. Check it out, it may be simpler than what you're doing. Concussus surgo. When struck I rise.
-
Hello, I have a web server (a service) that acts as a proxy to translate web pages from English to Swedish. In order for this to work, I need to set the appropriate values of proxy server and port and activate "Use a proxy server" in IE->Internet Options->Connections->LAN Settings->Advanced. Now, activating and deactivating frequently will become a pain in the ass jumping to the options dialog all the time, so I figured I could create an IE toolbar button that would do this programmatically. This turned out to be more complicated than I thought... I can change the options programmatically (at IE runtime) but the changes don't seem to be reflected appropriately. I was trying to simulate the [de]activation behaviour of IE when doing it manually, but something seems to be missing. Manually my proxy kicks in just fine, but not programmtically... all options are set and visually it all looks fine. Has somebody dealt with this or does anyone know how to do this? ANy pointers to material on this would be appreciated, TIA, /Tommy
Here's the answer... FINALLY!!! http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/wininet/tutorials/options.asp And now it all works! Thx to all who have helped out! /Tommy