Martin,
first never call a DOEVENTS inside a timer because it will create unpredictable results. Timer events are already releasing cpu to other process.
The problem is INET_URLdownload: it is a synchronous function, it means it will not return until it has finished to download the file. So if you call that function inside a timer event again you will get unpredictable results again.
What you need is an asynchronous function, that is a function you fire and than you can check its going on till finished.
In this case you could fire the function when needed and than install a timer to check download status.
Problem is that I need to create such a function.
Something like \SampleScripts\TcpUdp\DownloadPage.tBasic
I will see what I can do.
Eros
Bookmarks