I have this code in the close command button that is supposed to close the program
VB Code:
Private Sub cmdCloseProgram_Click() Unload me Set frmItem=Nothing Set frmOrder=Nothing End Sub
When I use this button to close the program, it closes well & I cant see the program running in the Task Manager- Processes Tab but when I close the program by pressing [X] button on the upper right corner of the form, it keeps running in the back ground and I can see it thru Task Manager..Any Idea, how I can rectify this?




Reply With Quote