|
-
Jun 6th, 2000, 04:09 PM
#1
Thread Starter
Addicted Member
Hi,
I have got a project which runs fine, except that something is still running when I exit the project ( this also happens with the .exe version of the project ). I have located the source of the problem, but no matter what I do, it won´t stop. Is there a way to stop, shut down, whatever everything when I unload the last form in the project?
Any help gratefully accepted,
Cheers,
Sparky
-
Jun 6th, 2000, 04:19 PM
#2
Fanatic Member
Sort of depends what is going on. You can place this in the unload event of the form, or in a sub in a module.
It may be a loop that i still running that is keeping your program going. A common thing with loops and DoEvents
Code:
Dim myForm as Form
For Each myForm in Forms
UnLoad myForm
set myForm = Nothing
Next
Iain, thats with an i by the way!
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
|