Using my code in post # 21.

Now for the trial version when i try change the value from "5" to "0" i am not able to overwrite the same file because it seems the application is still running. Although i used

Code:
Application.Exit()
For that Exit button. But seems its not completely quit running.











After i end the process for my program using (Alt+Ctrl+Delete) I am able to modify the value in the text file. Any recommendations to workaround this issue ?