I\'ve seen a ton of post regarding the problem of control.Invoke hanging applications but they mostly seemed to be restricted to those running on .NET 1.1. I\'ve also seen
You are using Thread.Join
to let the UI thread pause until the other thread is done. At the same time you use Control.Invoke
to let the UI thread do some action. This won't work because the UI thread is waiting for the other thread to finish.
I would suggest you either remove the Thread.Join
call or do your action in the UI thread if you want it to wait for the action to finish.