Hello Everyone and thanks for your help in advance. I have written a Windows application that is triggered by Windows Scheduler each evening. Basically, the program starts a thread, parses some text files, and then loads data to a SQL Server database. However, since Windows scheduler needs to run it each evening, I need to the application to close at the end of the thread. However, I am not exactly sure how to accomplish this and determine if everything has completed. Any help on this topic would be greatly appreciated. Thanks.

Closing Application
Tom.
Thanks again.
ChaituKris
Application.Exit()
Will Wilson
Jamie El Fattal