mujhe yeh maloom karna hai k VB mein jb hum Web Browser banate hain to us mein loading bar kaise banate hain aur wo work kaise kara hai.. plz help me plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz ........
Attachment 98936Screen Shot
mujhe yeh maloom karna hai k VB mein jb hum Web Browser banate hain to us mein loading bar kaise banate hain aur wo work kaise kara hai.. plz help me plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz ........
Attachment 98936Screen Shot
help me experts
experts where r u ?????????????
1. Progressbar ka component form per laa'ain.
2. WebBrowser1 ki Event 'ProgressChange' ko select karain.
us event main ye Red colour wali lines likh dain:
Zeeshan AhmedCode:Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long) On Error Resume Next ProgressBar1.Max = ProgressMax ProgressBar1.Value = Progress End Sub
here is coding..
Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
On Error Resume Next
If Progress = -1 Then ProgressBar1.Value = 100 'the name of the progress bar is "ProgressBar1".
Label1.Caption = "Done"
ProgressBar1.Visible = False 'This makes the progress bar disappear after the page is loaded.
Image1.Visible = True
If Progress > 0 And ProgressMax > 0 Then
ProgressBar1.Visible = True
Image1.Visible = False
ProgressBar1.Value = Progress * 100 / ProgressMax
Label1.Caption = Int(Progress * 100 / ProgressMax) & "%"
End If
Exit Sub
End Sub
Bookmarks