Webbrowser Control, use without proxy

Can anyone tell how to use a webbrowser control in VB, but it should not pick the internet explorer's proxy settings.

I want to build a browser in VB with webbrowser control to run a local intranet application, but this application should not use the internet explorer's proxy settings, but on the other hand, if I run explorer, it should run as it is with its settings.

Thanks

[386 byte] By [TABARRY] at [2008-2-3]
# 1
TABARRY wrote:
Can anyone tell how to use a webbrowser control in VB, but it should not pick the internet explorer's proxy settings.

I want to build a browser in VB with webbrowser control to run a local intranet application, but this application should not use the internet explorer's proxy settings, but on the other hand, if I run explorer, it should run as it is with its settings.

Thanks


TABARRY,

This isn't possible really. The only workaround I can think of would be to modify the registry settings for IE, but this would have a machine-wide effect, and is not recommended.

You could fetch the content yourself, and then pipe it into the WebBrowser control, but that would be slower as well.

Hope this helps.

- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

casperOne at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
casperOne wrote:
TABARRY wrote:
Can anyone tell how to use a webbrowser control in VB, but it should not pick the internet explorer's proxy settings.

I want to build a browser in VB with webbrowser control to run a local intranet application, but this application should not use the internet explorer's proxy settings, but on the other hand, if I run explorer, it should run as it is with its settings.

Thanks


TABARRY,

This isn't possible really. The only workaround I can think of would be to modify the registry settings for IE, but this would have a machine-wide effect, and is not recommended.

You could fetch the content yourself, and then pipe it into the WebBrowser control, but that would be slower as well.

Hope this helps.

- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

Actually I dont see why is it not possible. Because firefox is also an application made by other people, which can set and modify proxy setting without affecting Internet explorer (if i am not wrong).

hanct at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 3

Hi,

I think you can try this: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=376620&SiteID=1

It's a solution using the wininet.dll InternetSetOption entry point.

Hope this helps.

NicoM. at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic General...