what good are threads?

  • Thread starter Thread starter Laszlo Szijarto
  • Start date Start date
L

Laszlo Szijarto

I was very excited to find out that .NET supported multi-threading. I have
long had issues with Forms freezing up while large datasets (recordsets)
were being collected or with various looping operations.

Yet I spin off separate threads to fill DataSets and do various other
operations, and my Windows Forms STILL LOCK UP. So what the heck good do
these threads actually do?

Thank you,
Laszlo
 
Can you post a code snippet? Something is not right.

Also, make sure you're not trying to update the form directly from the
other thread. The form is owned by the initial thread. To update the
form during your background thread's execution, you have to use an
invoke method from your form.
 
Back
Top