nvms
asked on
App closed but process remains ?
When my application closes it 'acts' as though it is still running (e.g. cannot shut down windows etc etc). In Win XP and NT etc it remains as a 'process' but not as a 'running application'. I do create quite a few class objects but I set them all to nothing on clean exit. Any ideas ? Is there an API call which totally kills any reference to the process ?
Thanks in advance
Stewart Wood
Thanks in advance
Stewart Wood
Also, close all db connections
try putting End in the form_unload event
Don't use End. If everything is cleaned up properly, you don't need it. If everything isn't, then clean it up.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
P.S.
I agree with KDivad: never, ever, ever use End.
I agree with KDivad: never, ever, ever use End.
ASKER
Hi
Thanks for the comments. I am using Erick37's function to clean up and keep tabs on form activities. It was great to see the suggestions but this answer was the most comprehensive. Thanks again, I cannot imagine how we ever got anything done without EE !!! I know it will come in handy next year when we're all getting a grip on VB.NET .
Stewart
Thanks for the comments. I am using Erick37's function to clean up and keep tabs on form activities. It was great to see the suggestions but this answer was the most comprehensive. Thanks again, I cannot imagine how we ever got anything done without EE !!! I know it will come in handy next year when we're all getting a grip on VB.NET .
Stewart
"...when we're all getting a grip on VB.NET ."
I hope no.
I hope no.
VB.NET Sucks!!!!!!!! (Sorry I just had to say it)
nvms,
Some of these questions have been open for some time. Please resolve them appropriately as soon as possible.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20091307
https://www.experts-exchange.com/jsp/qShow.jsp?ta=hardgen&qid=20189857
https://www.experts-exchange.com/jsp/qShow.jsp?ta=fonts&qid=11466658
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20246539
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20169234
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20156218
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20148915
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20144898
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20113147
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20091309
https://www.experts-exchange.com/jsp/qShow.jsp?ta=msoutlook&qid=20185178
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Some of these questions have been open for some time. Please resolve them appropriately as soon as possible.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20091307
https://www.experts-exchange.com/jsp/qShow.jsp?ta=hardgen&qid=20189857
https://www.experts-exchange.com/jsp/qShow.jsp?ta=fonts&qid=11466658
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20246539
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20169234
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20156218
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20148915
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20144898
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20113147
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20091309
https://www.experts-exchange.com/jsp/qShow.jsp?ta=msoutlook&qid=20185178
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Force/accepting the comment of Erick37, per user statement.
Netminder
Community Support Moderator
Experts Exchange
Netminder
Community Support Moderator
Experts Exchange
set Form1 = nothing
at the form unload event, that might be it