C# - How to put a secondary address in Webbrowser

Asked

Viewed 49 times

1

Hello, How to put secondary address in Webbrowser in Visual Studio 2015.

        // webBrowser1
        // 
        resources.ApplyResources(this.webBrowser1, "webBrowser1");
        this.webBrowser1.Name = "webBrowser1";
        this.webBrowser1.ScriptErrorsSuppressed = true;
        this.webBrowser1.Url = new System.Uri("http://google.com", System.UriKind.Absolute);

If this address is unavailable it will look for a secondary, so that it does not return a browser error. (What we agree is very ugly)

Or simply make a check to see if this page is available. Otherwise return an error by Messagebox.

  • Or simply make a check to see if this page is available. Otherwise return an error.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.