Webbrowser: how to disable Error message?
Hi, all.
I searched through the forum, but still can't resolve my problem. So I would like to ask you for help.
My problem is: when I try open web page by webbrowser, many times error dialogs appear: syntax error, object required etc. Strangly that they appear even I set the browser to silent mode by:
VB Code:
Webbrowser1.Silent = True.
. I also disabled the JS error debug in IE.
Can you tell me what do I miss still?
Thank you very much.
Tuan.
Re: Webbrowser: how to disable Error message?
I believe that the error is not from the website that you are visiting, its a problem with something that you are trying to make the browser do, so setting it to silent won't fix this problem.
Without any more info I can't be any more specific than that, sorry.
Re: Webbrowser: how to disable Error message?
Oh, thanks very much.
I didn't realize that it's error from my application.
I'll try to trace it soon.
Cheers,
Tuan.
Re: Webbrowser: how to disable Error message?
I disagree. Often pages that we automate with webbrowser control has an error in the javascript. That's fine. Just don't execute it. Why ask?
It's just idiotic.