Changing webbroswer Url

I have a group of radio buttons, and a web browser. The buttons each have this code:

WebBrowser1.url = Http://example.com

Http comes up as an undefined variable so I put " around it. Then it says it cant convert system,uri to string. So, what do I do I'v done this before but I cant remember how.



Answer this question

Changing webbroswer Url

  • Hosma293

    i suggest to start another thread when you have another question

    anyway.. In click event of the notify icon set
    -maximize and get focus



  • Dennis Berry

    Thanks zapacila.

    Can anyone answer this for me How do I get a notify icon to bring form1 to the front, The code is on form1, and I've already tried things like me.bringtofront, or me.focus.


  • dkw81490

    I believe you’re looking for the Navigate method.

    Bruce Johnson [C# MVP]
    http://www.objectsharp.com/blogs/bruce


  • Norbert.Bender

    Sion380 wrote:

    Then it says it cant convert system,uri to string.


    You could do this:

    Uri s=new Uri("Http://example.com");
    WebBrowser1.url =s;





  • Changing webbroswer Url