I am using a timer control on a form to activate an Active X exe which does some work and at the end just unloads the form cleans up all the objects. This should ensure that the component gets unloaded but sometimes it doesn't. I can use the END statement to end the Active X exe forcibly but I have read that it is not a good idea. I checked up MSDN and it says that the component should get unloaded after all its forms are unloaded and no client holds a reference to one of its public components.
Is there something I am missing here?