Many exceptions when using C # webbrowser control

I use webbrowser-controlto display multiple web pages in C # form. Several web pages give me over 100 errors:

First-chance exception Microsoft C++ exception: 
    Js::JavascriptExceptionObject at memory location xxx

How can I catch or stop these exceptions? There are so many of my program crashes.

-2
source share
1 answer

You can suppress JavaScript errors by setting WebBrowser1.ScriptErrorsSuppressed = True

0
source

All Articles