取消
顯示結果 
搜尋替代 
您的意思是: 

explorer script error

已解決!
前往解決方案

I've been using the Microsoft Web Browser (IWebBrowser2) to pull data from a list of internet websites.  I've run my program daily for about six months with no problems.  Now all of the sudden I am receiving a pop up window stating "Internet Explorer Script Error."  It asks me if I want to continue running scripts.  I went in to Internet Explorer and verified that script debugging is disabled.  But when using LabView, I continue to get the same error message.  I looked for a node or option on the (IWebBrowser2) to solve this problem but haven't been successful. 

 

Does anyone know how I can disable the script debugging in IWebBrowser2?  I've already disabled debugging in Internet Explorer but am still getting the same error messages.

0 積分
1 條訊息(共 3 條)
5,297 檢視

If it's "all of a suddent", then it sounds like a recent change in the specific web page you're loading has a bug in their Javascript that wasn't caught. Have you spoken the people responsible for the web page you're loading?

 

As for the suppression, you'd need to look at the documentation for the web browser control. Off-hand, you could try the

http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.scripterrorssuppressed.aspx property

0 積分
2 條訊息(共 3 條)
5,284 檢視
解決方案
由主題作者所接受 JFrakes

Thanks for the link.  It helped.  Set the property "Silent" to true to resolve this issue.

 

IWebBrowser2:: Silent

Read/write

Sets or gets a value that indicates whether the object can display dialog boxes.

3 條訊息(共 3 條)
5,266 檢視