Message 1 of 4
iLogic - Error closing active documents

Not applicable
07-04-2012
05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using iLOgic on Inv 2012 to try and close the active document using the following piece of code -
InventorVb.Application.activedocument.Close (True)
This close the document but brings up the following Error msg...
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Has anyone got a better piece of code that shuts down the active document but doesn't return the error? (I only want to shut down one document, not the application)
Look forward to any help you can offer.
Steve