Rank: Member Groups: Member
Joined: 8/26/2014 Posts: 20
|
We are trying to use WebView through ThreadRunner (i.e. silent, non-UI browser interaction). When using EvalScript like this:
webView.EvalScript(script, true);
We are getting an exception "window" even though we have an exception handler in the function. This will not work when the program is running in unattended mode. What can be do to suppress the exception dialog box?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, If your application is running in non-interactive mode (for example, from within a service), then you do not need to do anything special to suppress the dialog. The dialog will not be shown in non-interactive mode. If your application is running in interactive mode, then you can handle this event to skip the dialog: http://www.essentialobjects.com/doc/eo.base.runtime.exception.aspxThanks!
|