"Crouchie1998" <cr**********@spamcop.net> schrieb:
I am not sure if I really understand your post, but if you click a button
to
download something & then try to update a label. Am I right? If so, run
your
download from a new thread & then update your label text
In addition to your reply:
Note that some download methods in the .NET Framework provide support for
asynchronous operation. Otherwise, as you say, a worker thread is the way
to go. However, it's not allowed to access Windows Forms controls from
within the thread, so if you want to access the UI from within the thread,
you'll have to use interop techniques:
Multithreading in Windows Forms applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=multithreading&lang=en>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>