Dave,
Thank you, this worked perfectly. The suggested link on multi-threading was very helpfull and answered most of my questions. This in conjuction with your earlier suggestion on overriding the ProcessDialogKey did exactly what I was looking for.
Kind Regards,
Mat
>Thats because the UI thread is busy running the business object's method and cannot service the windows message pump. Start up the long running process on a worker thread:
>
>
>ThreadStart ts = new ThreadStart(yourBusinessObject.YourLongRunningMethod);
>Thread t = new Thread(ts);
>t.Start();
>
>
>I thought this article has a pretty decent explanation of multithreading
http://www.gekko-software.nl/DotNet/Art05.htm>
>If you understand everything in the article then you will have no problem doing what you want to do.
>
>I don't want to overload you but as an alternative to starting threads you can use the asynchronous capability of delegates
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpovrasynchronousdelegates.asp>