Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to find what event would be the best to react to in in order to write data to the NOD before the document closes. I've tried reacting to
Application.DocumentManager.DocumentDestroyed += new DocumentDestroyedEventHandler(docColDocDestroyed)
but get an error when trying to create a transaction.
And when I try to react to
Document.BeginDocumentClose
I get an eLockedViolation. The violation comes from an external assembly that I cant change, and I need the assembly for backwards compatibility (I'm only doing this part for backwards compatibility.)
Any help would be greatly appreciated!
Solved! Go to Solution.