Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2007, 07:30 AM
Registered User
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

private void Change_IE_Settings(String strProxy, bool action)
{
RegistryKey RegKey =

Registry.CurrentUser.OpenSubKey("Software\\Microso ft\\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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Settings.settings when assembly is in GAC evandro.paula .NET Framework 2.0 0 September 25th, 2007 09:54 AM
how can i automatically detect a proxy settings rahuljain_w JSP Basics 1 October 25th, 2005 12:25 PM
can i automatically detect a proxy settings rahuljain_w .NET Web Services 0 September 27th, 2005 02:30 AM
Proxy Server Settings??? - Help! javacelt JSP Basics 0 November 1st, 2003 06:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.