* =?Utf-8?B?ZGRk?= <dd*@discussion s.microsoft.com > scripsit:
I am trying to use webclient to download a file from a windows application
and I notice that the application freezes while the file downloads. The file
is about 300k so it takes a few seconds for it to download.
Is there anyway to download the file on the background so the user can still
use the application while its downloading the file?
Yes, in a background thread.
Multithreading:
<URL:http://msdn.microsoft. com/library/en-us/dnforms/html/winforms0611200 2.asp>
<URL:http://msdn.microsoft. com/library/en-us/dnforms/html/winforms0816200 2.asp>
<URL:http://msdn.microsoft. com/library/en-us/dnforms/html/winforms0123200 3.asp>
<URL:http://www.devx.com/dotnet/Article/11358/>
<URL:http://msdn.microsoft. com/library/en-us/cpref/html/frlrfSystemWind owsFormsControl ClassInvokeTopi c.asp>
Multithreading in Visual Basic .NET (Visual Basic Language Concepts)
<URL:http://msdn.microsoft. com/library/en-us/vbcn7/html/vaconthreadingi nvisualbasic.as p>
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>