eo_support wrote:Is it possible for you to isolate the problem into a separate test project and send the test project to us?
Not easily. The URL I am calling is password protected. Not sure if I get the same effect with youtube. BUT .....
After sending the question I did have a thought. Actually, I think typing the question forced me to organize my thoughts.
I had breakpoints set on two events. The (WebView) closing and closed. I thought it was weird that the closing was not firing, but not being familiar with the code, just thought that was the way it is.
So I was wondering if the dispose being called in the immediately after the close was the issue. So I commented out the dispose and all works now without having any delay. Also the closing event is firing.
So, I am guessing by not calling the dispose is giving the WebView a chance to clean itself up.
Code: Visual Basic.NET
Public Sub CloseBrowser()
_WebView.Close(True)
'_WebView.Dispose()
End Sub