Is it safe to terminate a thread that is opening a cyrstal report?
Posted on 2005-04-16
I have a VB.NET windows application which kicks off a crystal report viewer and passes a crystal report object with a recordset to that viewer.
Sometimes this takes a long time. I would like to allow the user to cancel the report if they would like.
I plan to create the report in a second thread, and if the user hits a "Cancel" button, then the report creation process is cancelled. Will this have any negative effects on the client machine? Will it create orphaned files? Will it take up memory? Or will .NET magically clean up everything for me, and make it safe to terminate the thread before it is finished?
thanks so much for your help!