timer in VB?
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
![]() |
Use BeforeNavigate Event and NavigateComplete Event.
Ex.
Draw a Command Button (Command1) and PictureBox (Picture1)
Draw WebBrowser Control (WebBrowser1) inside PictureBox
Instead of PictureBox u can use Frame Control
Ex.
Draw a Command Button (Command1) and PictureBox (Picture1)
Draw WebBrowser Control (WebBrowser1) inside PictureBox
VB6 Syntax (Toggle Plain Text)
Private Sub Command1_Click() WebBrowser1.Navigate ("www.google.co.in") End Sub 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) Picture1.Enabled = False End Sub Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, URL As Variant) Picture1.Enabled = True End Sub
Instead of PictureBox u can use Frame Control
Last edited by selvaganapathy : Jul 5th, 2008 at 10:21 pm.
KSG
![]() |
Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Visual Basic Timer/Clock/Countdown. (Visual Basic 4 / 5 / 6)
- Text Timer (Visual Basic 4 / 5 / 6)
- Timer Question (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: maskedbox
- Next Thread: text file strings help
•
•
•
•
Views: 922 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode