>I have a simple program that downloads a large file using the HTTP Client.
> How would one keep the user interface responsive during a long 
> asynchronous
> download?
>
> I have tried a number of things and finally ended up adding a timer with 
> an
> Application.ProcessMessages in it. Is there a better way to keep the UI
> responsive for button clicks and such?

ICS-V6 has a bandwidth limitation feature. Using it, you can limit the 
component speed. Without limitation speed, the component work as fast as 
possible and this may take a lot of resources if your netwrok and server are 
very fast.

You can also put your download into a separate thread and assign it a 
priority below normal.

--
[EMAIL PROTECTED]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to