oops im sorry it does load, did not know it takes a min.
i thought it loads every 2 seconds.
but the problem is yahoo.com is still refreshing and not stoping
is there something i did wrong?
Code:Private Sub Form_Load() WebBrowser1.Navigate ("http://google.com") Timer1.Interval = 10000 '2 second Timer1.Enabled = True End Sub Private Sub Timer1_Timer() Static iCounter As Integer iCounter = iCounter + 1 If iCounter = 6 Then frmBrowser.Show WebBrowser1.Navigate ("http://yahoo.com") iCounter = 0 'With your other code and this, every minute the navigate will fire 'With this line commented out, it will only happen once End If End Sub





Reply With Quote