Killsoft Sugdok

Webbrowser Progress Bar

Go down

Webbrowser Progress Bar

Post by giovhz on 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

/
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]
avatar
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