文章列表
If you only want to suppress script errors, handle OLECMDID_SHOWSCRIPTERROR from the CGID_DocHostCommandHandler command group in your host's IOleCommandTarget implementation. To handle this in Windows Forms's WebBrowser class, you need your own WebBrowserSite class that implements IOleCommandTarget a ...