Hi all,
I should execute a php script via IE every 1 minute.
I made the following routine and it seems runs well but I'm in doubt if calling oIE:Navigate several time I could have a memory leak.
What do you think about ?
function main()
cVar:="http://www.scritps/scripts.php"
oIE:=CreateObject("InternetExplorer.Application")
oIE:Visible := .f.
do while .t.
oIE:Navigate(cVar)
while oIE:Busy()
SecondsSleep( 1 )
enddo
n:=seconds()
do while .t.
sysrefresh()
if seconds()>n+60
exit
endif
enddo