Re: How to exit?

From: Javad (javad2000_at_myrealbox.com)
Date: 12/19/04


Date: Sun, 19 Dec 2004 07:37:53 -0800

Hey my friends
Thank you all, and special thanks to ShaneO.
I got my answer now, and I will try to take Bob's suggestion of closing
"Parent Form" into my consideration.

Regards
Javad

"Javad" <javad2000@myrealbox.com> wrote in message
news:eliY1lU5EHA.2804@TK2MSFTNGP15.phx.gbl...
> Hi.
> I'm a beginner of VB6.
> I want to design an Exit button for my program.
> What code should I write in its click event?
> I wrote "Unload all". It only unloads some of the forms. I also wrote
> "Unload Me", and it didn't unload all of the formst either. What should I
> write to unload and close all the forms?
>
> Thanks a lot
> Javad
>
>