I have an Active X Exe that can be run stand-alone or called from another
program. When I terminate it as stand-alone it is fine - all traces of it
disappear. However, closing it when it has been called from another program
and the Activex appears to close but is still listed by Task Manager, so I
can only assume some processes haven't terminated properly. I'm reasonably
confident that I am terminating all classes that I have created, but I am not
convinced some of the code I am sharing from other projects does the same.
How do I find what objects have not been closed (i.e. set to Nothing) when
the ActiveX Exe attemps to close?
Regards,
Steve.
Ken Halter - 16 Nov 2005 17:16 GMT
>I have an Active X Exe that can be run stand-alone or called from another
> program. When I terminate it as stand-alone it is fine - all traces of it
[quoted text clipped - 10 lines]
> Regards,
> Steve.
There's nothing built in that would help with this. One of the most common
"activex exe won't terminate" problems comes from leaving a form loaded in
that exe.

Signature
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..