IWebBrowser2 problem
-
Hi all, I have CWebBrowser wrapper for IWebBrowser2 class. i use it to run flash and static images. Problem is sometimes my application crashes because of certain flash that is running inside the web browser. (i can not tell which flash causes this). i have several computers which has visual studio debugger, so after this crash i see the debugger dialog... someone has suggested the problem is permission...but i am not sure... is there a way to catch or neutralizer the crash via IWebBrowser2? thanks for any thoughts or solutions Yaron
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
Hi all, I have CWebBrowser wrapper for IWebBrowser2 class. i use it to run flash and static images. Problem is sometimes my application crashes because of certain flash that is running inside the web browser. (i can not tell which flash causes this). i have several computers which has visual studio debugger, so after this crash i see the debugger dialog... someone has suggested the problem is permission...but i am not sure... is there a way to catch or neutralizer the crash via IWebBrowser2? thanks for any thoughts or solutions Yaron
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
YaronNir wrote:
is there a way to catch or neutralizer the crash via IWebBrowser2?
Did you tried
catch(...)
? Then NO. -
YaronNir wrote:
is there a way to catch or neutralizer the crash via IWebBrowser2?
Did you tried
catch(...)
? Then NO.of course :) is there a way to catch the error from the IHTmlDocument or something like that? thanks
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
YaronNir wrote:
is there a way to catch or neutralizer the crash via IWebBrowser2?
Did you tried
catch(...)
? Then NO.i saw something on MSDN: http://support.microsoft.com/kb/317024[^] but the question is if the page creates iframe within iframe within iframe (which is out of my control) and i place on error at the top of the html (not the inner iframe) will it be caught?
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)