August 13th, 1999, 11:24 PM
Hi all,
I have an MDI application, in which each child window launches each ocx's. At certain condition i want to exit from application. I have tried "End" statement and "Unload" statement at that condition. It worked well , when there is no modal dialog remain opened. But when there is a modal dialog, the application exits but the process remains still alive. Since only one instance of this application is possible, i can't load it for second time in this situation.
Could anyone tell me how can i exit from application when a modal dialog is launched.
Thanks in advance,
Sajitha
I have an MDI application, in which each child window launches each ocx's. At certain condition i want to exit from application. I have tried "End" statement and "Unload" statement at that condition. It worked well , when there is no modal dialog remain opened. But when there is a modal dialog, the application exits but the process remains still alive. Since only one instance of this application is possible, i can't load it for second time in this situation.
Could anyone tell me how can i exit from application when a modal dialog is launched.
Thanks in advance,
Sajitha