|
-
Jan 30th, 2008, 03:42 PM
#2
Re: Previous Instances Remaining
 Originally Posted by DaWolf
How do you get the instance to release properly when the X is clicked?
There are number of thing to look upon closing your app the following "list" is just an idea:
- close all global connections, recordsets, etc (if any)
- destroy all global objects
- close all documents (if automation is in place)
- loop through forms collection and close each form individually
- for each form (form_unload or queryunload events can be used)
... - close any open local connection, etc...
... - destroy all form level objects
... and so on and so forth ...
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
|