-
Hi,
I am having a problem with the X or close program button. When a user clicks on the 'x' it closes the program but keeps the program running is. How can i make the 'x' button end the whole program? Any help would be appreciated and thanx in advance.
Mike
-
this should help
Set your program to nothing
set form1 = nothing
-
Hi!
Maybe there's an invisible form hanging 'round somewhere.
If this is the case try
Code:
Dim frm as Form
For Each frm in Forms
Unload frm
Next frm
... in the Form_(Query)Unload() Event of your Form.
Regards,
da_bob
______________
-
Thanks da_bob That bit of code fixed it. I couldn't locate the form that was still in memory. Thanks once again
Mike