Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Activating IE proxy settings...?

Activating IE proxy settings...?

Scheduled Pinned Locked Moved COM
sysadmintutorialquestion
3 Posts 2 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tommy Svensson
    wrote on last edited by
    #1

    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

    D T 2 Replies Last reply
    0
    • T Tommy Svensson

      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

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • T Tommy Svensson

        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

        T Offline
        T Offline
        Tommy Svensson
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups