Using VSIP 2003 - Managed code...
I have dropped(via the designer) the WebBrowser control on a simple tool
window which extends UserControl. When VS closes, I get an exception from
AxHost while it is trying to disconnect the event sink (or so it appears)
Output Window:
An unhandled exception of type 'System.NullReferenceException' occurred in
system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
Call Stack:
>system.windows.forms.dll!System.Windows.Forms.AxHost.ConnectionPointCookie.Disconnect() + 0x25 bytes
I have added no code to the tool window form other than added the WebBrowser
control at design time. What is Visual Studio doing that is interferring with
the control's cleanup?
Greg
Gaston Milano - 26 Oct 2004 15:37 GMT
Yes I had the same problem in VS2003, I was looking for a solution and I
couldn't find the way to avoid this exception.
In VS2005 I tried a similar toolwindow that uses the builtin webbrowser of
the framewor and It's working. ...
Gaston
> Using VSIP 2003 - Managed code...
>
[quoted text clipped - 16 lines]
>
> Greg