Hi,

In my application, I call myThread.Abort() which works fine most of the
time. Ocassionally however, this results in a ThreadStateException
being thrown which hangs the application. The exception message being
'Thread is suspended; attempting to abort'. Checking the status of the
thread before abort was called shows it to be a background thread and
not a suspended one? In addition I can't reproduce this problem when
running the application from the exe file i.e not through the code in
Visual Studio? Any ideas as to what is going would be much appreciated.

Thanks

Tristan.