watcher2007
Member
- Joined
- Apr 7, 2008
- Messages
- 7
- Programming Experience
- 5-10
Hi,
I have an application that polls a DB for new records. Since this a periodic check, I've put the code in a "While" loop, which never terminates.
The application runs fine, however, when I deploy the application, the only way that I can terminate the application, once it is running, is by terminating it via "Task Manager". how can I inlcude a stop button, on the application form, and make it active, even though the loop is still running.
Thanks in advance.
I have an application that polls a DB for new records. Since this a periodic check, I've put the code in a "While" loop, which never terminates.
The application runs fine, however, when I deploy the application, the only way that I can terminate the application, once it is running, is by terminating it via "Task Manager". how can I inlcude a stop button, on the application form, and make it active, even though the loop is still running.
Thanks in advance.