Hi, I wrote a simple form exe to AutoCAD 2002. How can I close the program clicking the upper right corner "x" button? I do not why, but now when i click to the upper right corner "x" button, the form become hidden and the exe still running. Can anybody help me? Paul