M
moondaddy
I have a vb.net 1.1 winforms app and am using a WebBrowser control
(AxSHDocVw.AxWebBrowser) on it. When I close the form the entire
application closes. This behavior didn't happen until I added the
WebBrowser control. Actually, the WebBrowser (WB) control is on a User
Control nested on another user control like this:
Form1
Main User Control (an open a number of different user controls depending
on the function we want to perform)
Control with WB.
In the dispose event of the Main User Control I set the reference to ucWB
to nothing hoping this would help, but it made no difference.
Can someone explain what's happening here and how to resolve it?
Thanks.
(AxSHDocVw.AxWebBrowser) on it. When I close the form the entire
application closes. This behavior didn't happen until I added the
WebBrowser control. Actually, the WebBrowser (WB) control is on a User
Control nested on another user control like this:
Form1
Main User Control (an open a number of different user controls depending
on the function we want to perform)
Control with WB.
In the dispose event of the Main User Control I set the reference to ucWB
to nothing hoping this would help, but it made no difference.
Can someone explain what's happening here and how to resolve it?
Thanks.