Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Proxy Settings of Web Browser

    Hi....

    I have developed a windows application ..on which there are three web browser controls...all navigate to same web URL.... But for each web browser...proxy settings should be different... currently i am setting proxy in registery...with following code

    Code:
    private void Change_IE_Settings(String strProxy, bool action)
    {
    RegistryKey RegKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
    if (action == true)
    {
    RegKey.SetValue("ProxyServer", strProxy);
    RegKey.SetValue("ProxyEnable", 1);
    }
    else
    {
    RegKey.SetValue("ProxyEnable", 0);
    }
    }
    But with these all three web browser's have same proxy settings...I need all three should have different proxy settings.Please suggest solution or any alternate of this problem.


    Thanks in advance

    Rupinder
    Connoisseur Infotech Pvt. Ltd.
    www.econnoisseur.com
    Last edited by vinyl-junkie; 05-08-2007 at 05:10 AM. Reason: Added code tags


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •