Re: Program still running after UNLOAD
- From: "Bob Butler" <noway@xxxxxxxxxxx>
- Date: Thu, 13 Sep 2007 08:29:45 -0700
"BCS" <nospam@xxxxxxxxxxx> wrote in message news:46e953c4$0$18998$4c368faf@xxxxxxxxxxxxxxxxx
Thanks Bob. Oddly enough, when I returned to my project this morning I didn't have this problem. I guess in working with all my forms yesterday, I probably had one in the background that I didn't see. Any suggestions I could use to close any open forms? Something like FOR EACH form in project...unload. Would I put this in a Terminate routine?
IMO it's much better to keep track of the forms and ensure they are unloaded when no longer needed. Using a generalized cleanup I consider to be a band-aid and poor practice. That said,
for each f in forms
unload f
next
.
- Follow-Ups:
- Re: Program still running after UNLOAD
- From: Jeff Johnson
- Re: Program still running after UNLOAD
- References:
- Program still running after UNLOAD
- From: BCS
- Re: Program still running after UNLOAD
- From: Bob Butler
- Re: Program still running after UNLOAD
- From: BCS
- Program still running after UNLOAD
- Prev by Date: Interview question and projects Ebooks.
- Next by Date: Re: VB and Excel
- Previous by thread: Re: Program still running after UNLOAD
- Next by thread: Re: Program still running after UNLOAD
- Index(es):