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

Hi,

In Exit button, along with unload give "End"

Private Sub cmdExit_Click()
    Unload Me
    End
End Sub

REgards
Veena

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

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.