Thanks for all your help scorpion... it works like a charm now...
What I did wrong and you were right about it, was that I was
refreshing something which didn't exist...
I rewrote the app a bit, so what I do now is that when the program
opens, I select the time interval and I click on start button... And
at this particular moment right after start I load the page first for
a first time and since then on, all I do is that I keep on refreshing
it using your code in those periods of time I set at the begining...
Amazingly simple, especially when you already suggested this right at
the begining... I just overlooked that axwebbrower wasn't loaded
first with the page.
Anyways... code looks like this, maybe for a future someone would like
to see it:
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
Dim REFRESH_COMPLETELY As Object = 3
AxWebBrowser1.Refresh2(REFRESH_COMPLETELY)
End Sub
and initial start button code:
[code:1:61c6aeeffd]
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Timer1.Start()
AxWebBrowser1.Navigate(TextBox1.Text)
End Sub
[/code:1:61c6aeeffd]
thanks a lot for all your help...
vjay
--- backup at
www.dotnetboards.com ---
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption