How to Dispose a hidden Desktop via Automation
Posted: Fri Oct 24, 2008 7:08 pm
Hi
When I open a document as Hidden using automation the Dispose() method on the Desktop object does not release the Desktop from memory. However if I open a document as Visible and then use the Dispose() method everything is released from memory.
How can I properly dispose all objects when opening documents as hidden without first resorting to making them visible?
Thanks,
Simon
When I open a document as Hidden using automation the Dispose() method on the Desktop object does not release the Desktop from memory. However if I open a document as Visible and then use the Dispose() method everything is released from memory.
How can I properly dispose all objects when opening documents as hidden without first resorting to making them visible?
Thanks,
Simon