Results 1 to 4 of 4

Thread: Webbrowser: how to disable Error message?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    22

    Webbrowser: how to disable Error message?

    Hi, all.
    I searched through the forum, but still can't resolve my problem. So I would like to ask you for help.
    My problem is: when I try open web page by webbrowser, many times error dialogs appear: syntax error, object required etc. Strangly that they appear even I set the browser to silent mode by:
    VB Code:
    1. Webbrowser1.Silent = True.
    . I also disabled the JS error debug in IE.
    Can you tell me what do I miss still?
    Thank you very much.
    Tuan.

  2. #2
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: Webbrowser: how to disable Error message?

    I believe that the error is not from the website that you are visiting, its a problem with something that you are trying to make the browser do, so setting it to silent won't fix this problem.

    Without any more info I can't be any more specific than that, sorry.
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    22

    Re: Webbrowser: how to disable Error message?

    Oh, thanks very much.
    I didn't realize that it's error from my application.
    I'll try to trace it soon.
    Cheers,
    Tuan.

  4. #4
    Fanatic Member
    Join Date
    Oct 2007
    Posts
    544

    Re: Webbrowser: how to disable Error message?

    I disagree. Often pages that we automate with webbrowser control has an error in the javascript. That's fine. Just don't execute it. Why ask?

    It's just idiotic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width