-
May 13th, 2007, 10:36 AM
#1
Thread Starter
New Member
Noticing If WebBrowsers Changed
Is there anyway to notice if a webbrowser has changed so you can then write an If state eg:
Code:
If WebBrowser1.Changes Then Timer1.Enabled = True
-
May 13th, 2007, 11:08 AM
#2
New Member
Re: Noticing If WebBrowsers Changed
Code:
Private Sub WebBrowser1_PropertyChange(ByVal szProperty As String)
Timer1.Enabled = True
End Sub
try that
-
May 13th, 2007, 02:52 PM
#3
Thread Starter
New Member
Re: Noticing If WebBrowsers Changed
Okay its working and enabling timer1 but the only problem is it does that the start because of
Code:
WebBrowser1.Navigate "http://mysite.com"
I want that code to take effect after mysite has loaded!
-
May 13th, 2007, 03:50 PM
#4
New Member
Re: Noticing If WebBrowsers Changed
i think i get what your saying. so then it would be this instead:
Code:
Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, URL As Variant)
Timer1.Enabled = True
End Sub
-
May 13th, 2007, 04:10 PM
#5
Thread Starter
New Member
Re: Noticing If WebBrowsers Changed
That also enables the timer as the form loads!
-
May 13th, 2007, 04:46 PM
#6
New Member
Re: Noticing If WebBrowsers Changed
so you want it to enable only when the site is www(dot)mysite(dot)com?
Last edited by sweyko5; May 13th, 2007 at 04:51 PM.
-
May 14th, 2007, 09:01 AM
#7
Re: Noticing If WebBrowsers Changed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|