![]() |
![]() |
![]() |
Automation Errors 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.
Amon
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.
Wayne
This needs more detail to get anywhere close.
Simon Lucy
It's error 440.
Amon
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.
Simon Lucy
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.
Allez-Allez
Does it?
Simon Lucy
For VB, become a member on VBForums.com. You get answers and nice people too.
KayJay
Allez-Allez,
mjwills
|