* =?Utf-8?B?ZGRk?= <dd*@discussions.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/winforms06112002.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnforms/html/winforms08162002.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnforms/html/winforms01232003.asp>
<URL:http://www.devx.com/dotnet/Article/11358/>
<URL:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWindowsFormsControlClassInvokeTopic.asp >
Multithreading in Visual Basic .NET (Visual Basic Language Concepts)
<URL:http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconthreadinginvisualbasic.asp>
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>