Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7857661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:06:12+00:00 2026-06-02T21:06:12+00:00

Ok so I have a WebBrowser called wb . And I load a page

  • 0

Ok so I have a WebBrowser called wb. And I load a page into wb using wb.Navigate("url"); When the page loads I get a box saying “Script Error”.

Here is the one I get
The Error I get

How can I keep this from popping up in my program?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:06:14+00:00Added an answer on June 2, 2026 at 9:06 pm

    Not sure on newer browser control, but off the top of my head, there is an option called SuppressScriptErrors or something like that. Set that to true in your code before performing work. You’ll also have to make sure that under Internet Options that debugging web pages is off (if you’re getting the dialog above, it is off).

    http://www.dev102.blogspot.com/2007/12/how-to-suppress-disable-script-errors.html

    wb.ScriptErrorsSuppressed = true;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WebBrowser Control and have called the Navigate(url) function of it for
I have this piece of code: WebBrowser wb = new WebBrowser(); wb.Navigate(URL); HtmlDocument doc
I have a webbrowser control which I navigate to an URL that contains this
Okay, I have a WebBrowser control in my VB.NET application that loads a PHP
I have been using the .NET WebBrowser control in edit mode as part of
I have an application which uses Webbrowser control to navigate to a few vendor
I have a C# WPF application with a web browser control (System.Windows.Controls.WebBrowser) called wB.
I have a php script that outputs a random image each time it's called.
I'm trying to load an html document into a WebBrowser control, but I'm at
I have WebBrowser control on my winform. When I try navigate to some web-site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.