Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Detecting Proxy settings

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Detecting Proxy settings

    Is there a way to detect the proxy settings address and port number?

  • #2
    Re: Detecting Proxy settings

    Hi - sure (without looking) there's a GetProxySettings somewhere!
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

    Comment


    • #3
      Re: Detecting Proxy settings

      Use a "Dialog - Get Proxy Settings" action to get the info. [img]/ubbthreads/images/icons/smile.gif[/img]
      --[[ Indigo Rose Software Developer ]]

      Comment


      • #4
        Re: Detecting Proxy settings

        I can get the dialog to pop-up, but the values are blank as if asking to manually enter the info. I must be doing something wrong.

        Comment


        • #5
          Re: Detecting Proxy settings

          Exactly. The dialog is meant to prompt the user for those settings.

          If you want to get them automatically, you can try getting the information from the Registry (you might be able to gather it from IE's connection settings?), but I don't believe it will always be available that way.
          --[[ Indigo Rose Software Developer ]]

          Comment


          • #6
            Re: Detecting Proxy settings

            Good idea Lorne, I found the registry values I wanted in the following places:

            HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings\ProxyServer

            HKEY_USERS\.Default\Software\Microsoft\Windows\Cur rentVersion\Internet Settings\ProxyServer

            Do you know which one should I use?

            Thanks

            Comment


            • #7
              Re: Detecting Proxy settings

              The first one.

              The .Default key holds default settings for new users, and isn't as likely to be configured properly. [img]/ubbthreads/images/icons/smile.gif[/img]
              --[[ Indigo Rose Software Developer ]]

              Comment

              Working...
              X