Yes, dear paul, now it works the way I want it, but I used your code differently, and if I didn't, it would refresh every time I moved the mouse. Thank you very much for your help. I've exhausted you.
Code:If CInt((Environment.TickCount - lastInputInf.dwTime) / 1000) > 60 Then If CInt(Math.Floor((Environment.TickCount - lastInputInf.dwTime) / 1000)) Mod 60 = 0 Then 'check if it has been 60 seconds WebBrowser1.Document.All("homelink").InvokeMember("click") End If End If




Reply With Quote
