Killsoft Sugdok


Join the forum, it's quick and easy

Killsoft Sugdok
Killsoft Sugdok
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Webbrowser Progress Bar

Go down

Webbrowser Progress Bar Empty Webbrowser Progress Bar

Post by giovhz Sat Nov 09, 2013 6:45 pm

   Private Sub web1_ProgressChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles web1.ProgressChanged
        If e.MaximumProgress <> 0 And e.MaximumProgress >= e.CurrentProgress Then


           progressbar1.Value = Convert.ToInt32(100 * e.CurrentProgress / e.MaximumProgress)


     
        Else


            With progressbar1


                .Value = 100


                .Visible = True


            End With
        End If
    End Sub
giovhz
giovhz
Newbie
Newbie

Posts : 41
Join date : 2013-03-09

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum