Skip to content

Adding a progressbar to my webbrowser?

J

Asked Aug 30, 2007, 6:43 AM EDT3 answers
Share
LinkedInX

how do i do this? I dragged it accross from the toolbar but must add an event or something to teh webbrowser1?!

 

please help!      

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0

    What Progress Bar are you refering to?  AJAX UpdateProgress?

    Best,

    -Mike

    0
  • 0
    if u mean u made a webbrowser and u want a progress bar

    on webbrowser option add a progress change 1 and this code

     private void webBrowser1_ProgressChanged(object sender, WebBrowserProgressChangedEventArgs e)
            {
               toolStripProgressBar1.Maximum = Convert.ToInt32(e.MaximumProgress);
               toolStripProgressBar1.Value = Convert.ToInt32(e.CurrentProgress);

            }
    0
  • 0

    thanks michael b I used that code and it works but my progressbar is still there?!

     

    do i have to add something like if processchanged then progessBar1.focus = False somewhere?

    0