I have written a vb exe which checks whether a text file has changed evey 10 minutes. The application is working fine. Only problem is when a user shuts down the machine it gives program not responding End Task, user has to do a end task everytime. How to avoid this? need to ensure a smooth close of the program