Where can I get more information regarding automation errors? We have an exe that hosts an activex control on a form. The users do not report a problem when launching the form in question - at least none reported so far. The form that hosts the control is always retained in memory. The fun part begins when the main application tries to unload the form. An automation error is reported on Form_QueryUnload event handler. The event handler calls some methods in the control to clear memory.
If the form is being unloaded then the control will be unloaded too, so you don't have to do anything special to free memory.
This needs more detail to get anywhere close.
It's error 440.
That's the standard 'I had an error on an automation object', check the Err object. If its anything like a reasonable component it will have filled in the method name or property name that failed with probably its own error number.
Experts Exchange sucks - the site come up when Googling for technical answers all the time, but actually seeing the answers page costs money. There are lots of free resources out there, pass on Experts Exchange.
For VB, become a member on VBForums.com. You get answers and nice people too.
Fog Creek Home