Avoid application becoming unresponsive on download

Posted by baron on Stack Overflow See other posts from Stack Overflow or by baron
Published on 2010-06-17T05:19:38Z Indexed on 2010/06/17 5:23 UTC
Read the original article Hit count: 237

Hi

  • I have an application which downloads a file from a network location and then displays that files information.

  • It uses WebClient.DownloadFile to achieve this.

  • The problem is, when the user clicks a button to start the download, the application becomes unresponsive until the file has downloaded. This gives the impression the application may have hung.

  • I would like to seek ideas which would avoid this scenario. Though my solution will need to be 'as quick and cheap as possible' I would be interested in hearing about custom loaders that have been built, or some sort of loading symbol / progress bar / sand time clock thingy : )

Thanks for reading.

© Stack Overflow or respective owner

Related posts about webclient

Related posts about downloading