locked
suppress java script errors RRS feed

  • Question

  • i am trying  to suppress java script errors on the web browser control without blocking other dialog boxes
    Friday, January 29, 2010 1:48 AM

Answers

  • Did you try the code workaround at the end of the documentation that was posted by a user?
    Paul ~~~~ Microsoft MVP (Visual Basic)
    • Marked as answer by Dave Pf Tuesday, February 2, 2010 2:41 PM
    Monday, February 1, 2010 7:31 PM

All replies

  • Does the ScriptErrorsSuppresed property work for you?
    Paul ~~~~ Microsoft MVP (Visual Basic)
    Friday, January 29, 2010 1:41 PM
  • no because it blocks all dialogs 
    Friday, January 29, 2010 3:23 PM
  • The below documentation displays a workaround for that.

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


    Paul ~~~~ Microsoft MVP (Visual Basic)
    Friday, January 29, 2010 6:17 PM
  • the problem is that this only works on the document complete event and i need to suppress errors while the web page is loading 
    Friday, January 29, 2010 6:57 PM
  • " while the web page is loading"

    Believe it or not, this is ambiguous. Which webpage?

    Renee 
    Friday, January 29, 2010 7:35 PM
  • i am getting the java script errors before the document completes to download so i need to suppress the errors before the document complete event
    Monday, February 1, 2010 7:09 PM
  • Did you try the code workaround at the end of the documentation that was posted by a user?
    Paul ~~~~ Microsoft MVP (Visual Basic)
    • Marked as answer by Dave Pf Tuesday, February 2, 2010 2:41 PM
    Monday, February 1, 2010 7:31 PM