Friday, June 13, 2008

Windows Forms Webbrowser Control

I have a c# project I just started. I want to run a webbrowser control in a C# Windows Forms application. I am currently using the standard webbrowser control provided in the Visual Studio 2008 toolbox.

I am running into the following problem:

When a popup window opens from the browser, I want to catch that window and run it within another windows forms control.
I was able to do that by capturing the New Window event but there is one small problem. I seem to be losing my cookies when I do this.

Any Ideas?

1 comment:

Anonymous said...

Hey Brooke,

The .Net webbrowser control that was included in 2.0 will eventually limit you sooner or later. I would suggest wrapping up the AXWebBrowser yourselft