1 May 07 14:55
Thanks for the info.
I am using Visual Studio 2003, i.e. .NET 1.1. I would use Visual Stdio 2005 however I am not able to do this for the current project so thats out of the question (BackgroundWorker has its own limitations as well).
As I stated, there is no interaction between the thread and the main form (except for when the thread is killed, it should handle that event to make sure the thread does die and not remain static).
The main app is only used to respond to an event i.e the double-click
When the event is fired, I need to create a new fixed size form. The form has to be inside a thread so it doesn't cause the main app to wait while the new form is updating etc (if anyone knows a better approach please let me know).
The threaded form should take the filename that is passed to it and display a list of attributes, updating them every few seconds.
The main purpose is to stop one sub form interferring with another and to stop it causing the main app to hang while it waits for the update timer event to complete.
I was under the assumption that by using threads, I could free up the main app and let it continue loading files or handling double-click events.
Thanks in advance guys,