Hi, basically I'd like to be able to quit my application at any time. However, when a procedure is being executed, whether I press the X or my button with Application.Terminate, program first finishes the procedure and then immediatelly quits. In fact, even pausing the procedure doesn't help, I still can't quit my program. I don't have very clear idea of how to solve it, so I hope you could propose something, please.