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 7952633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:55:09+00:00 2026-06-04T02:55:09+00:00

How do I open the webpage in webBrowser1? I added new webBrowser component into

  • 0

How do I open the webpage in webBrowser1?

I added new webBrowser component into new window, when I added the button
this is the code on this button:

    private void button1_Click(object sender, EventArgs e)
    {
        string URL = @"http://www.site.com/search?=N";
        this.webBrowser1.Url = new Uri(URL); 
        this.webBrowser1.Navigate("URL");
        this.webBrowser1.Refresh();

    }

But it does not work – no errors reported, but webBrowser1 does not show any data after the button is pressed.

  • 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-04T02:55:11+00:00Added an answer on June 4, 2026 at 2:55 am

    Instead of:

    this.webBrowser1.Navigate("URL");
    

    try:

    this.webBrowser1.Navigate(URL);
    

    This way instead of navigating to the site "URL" (which obviously doesn’t exist) you navigate to the site that the URL variable is pointing to (which is http://www.site.com/search?=N).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do i open a webpage in vb6.... inside the window frame ?? (i
I know JavaScript can open a link in a new window but is it
I need to redirect the user using JavaScript. Which is the preferred method? window.open(webpage.htm,
How to open a webpage in IE while clicking a button in a c#
Just wondering is there any way to open a webpage in new tab inside
Is it possible for a webpage to popup a open folder dialog, ask the
I want to fetch the title of a webpage which I open using urllib2.
Is it possible that when you have a webpage, when you open the PDF,
How would you make a button in cocoa when clicked open a web page?
How can you open windows program by pressing a button on web page I

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.