-
When I was writing my program on the end form I have a command button "Exit Setup" in the code I have
Private sub CmdExit_Click()
End
End Sub
When I made this a .exe I found that even if the user closes the project (using the button) it is still running (nothing is on the task bar too) Does anyone know a command so my project will quit completely?
Thanks in advance,
Justin
-
Try this:
Code:
Dim fForm As Form
For Each fForm In Forms
Unload fForm
Set fForm = Nothing
Next fForm
-
Worked great thanks!
Justin