初中美术公益招贴设计:怎样用VB自动关闭IE的脚本错误窗口?

来源:百度文库 编辑:高考问答 时间:2024/05/13 06:44:14

方便很多,介绍二个方法
一可以将Webbrowser控件的报错设置为安静模式,就是它的属性里的silent设成true
二加入代码:

Private Sub WebBrowser1_DownloadBegin()
WebBrowser1.Silent = True
End Sub
Private Sub WebBrowser1_DownloadComplete()
WebBrowser1.Silent = True
End Sub

共同关心....