Not a Member Yet,
Click here to Register
How do you like the new design?

ID: 373
Viewed: 3072
Added: Aug 19, 2002
Snippet uploaded by: snippet
Written By: Unknown
Demo: Sorry, no demo

User Rated at: 0 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

show the status of the page, like when it is done downloading, starting to download, etc...

need vbbrowser control

Highlight all by clicking in box

Highlight All
Private Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
'use this to maybe set variables...or start you animation for navigation
Timer1.Enable = True ' if your useing a timer to run some animation
End Sub

Private Sub Webbrowser1_CommandStateChange(ByVal Command As Long, ByVal Enable As Boolean)
'double check that I dont have the fwd/back reversed
If Command = 2 Then
cmdBack.Enabled = Enable 'back button
End If

If Command = 1 Then
cmdForward.Enabled = Enable ' forward button
End If
End Sub

Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
On Error Resume Next 'you will need lots of these

Progressbar1.Max = ProgressMax
Progressbar1.Value = Progress

End Sub

Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
'if you are using a ststus bar use this to display the text (URL) for the link
StatusBar1.Panels(1).Text = Text
End Sub;

No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.

Replying to a Comment...

Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2018 All Rights Reserved. Conditions