|
-
Jun 12th, 2000, 06:41 PM
#1
Thread Starter
Lively Member
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
-
Jun 12th, 2000, 06:44 PM
#2
Hyperactive Member
this should help
Set your program to nothing
set form1 = nothing
Matt 
-
Jun 12th, 2000, 06:50 PM
#3
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
______________
-
Jun 12th, 2000, 06:58 PM
#4
Thread Starter
Lively Member
Thanks da_bob That bit of code fixed it. I couldn't locate the form that was still in memory. Thanks once again
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|