0

hi
i have 3 form
and an exit button in 3rd form
i want to close the whole project when i click exit
i think unload me can only stops that particular form
i want to close the whole project

thank u very much

4
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by hemen
0

Hi,

In Exit button, along with unload give "End"

Private Sub cmdExit_Click()
    Unload Me
    End
End Sub

REgards
Veena

0

hi
i have 3 form
and an exit button in 3rd form
i want to close the whole project when i click exit
i think unload me can only stops that particular form
i want to close the whole project

thank u very much

Private Sub Cmd_exit_Click()
If MsgBox("Do you want to exit?", vbYesNo + vbCritical, "exit") = vbYes Then End

End Sub

0

thank u So much

Actually it is really very help full for me .....
I have done all things ..... Becoz this is my first project of VB
I am Java Programmer .... Becoz of the some os information i have choose VB
.... In sense of it is very easy.... I have done every thing easily..... But at last for quiting from project.... I got the problem..... From last hour i was finding........................................................................
but finally i get it....................
Thank u so much

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.