Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / November 2005



Tip: Looking for answers? Try searching our database.

ActiveX Exe does not terminate

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 16 Nov 2005 11:56 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
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..

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.