after upgrade to Office 2010 we experienced frequent but random null OLE object returns, when retrieving Word 2010 document objects via OLE automation interface from DOORS. Examples for such objects were AttachedTemplate, InlineShapes, Paragraphs and others. As these are all objects or collections that always exist within a Word document, we refrained from checking for null objects here. This has worked fine for Office 2007 and 2003.
We fixed the problem by forcing Word's Application.Visible property to false, i. .e by completely hiding Word 2010 during lifetime of the OLE automation interface.
Another issue was, that when being managed from DOORS Word 2010 may loose connection to Word document properties. This happened when e. g. closing activated InlineShapes or closing other documents. We could fixed this issue by reactivating the affected Word document using Document.Activate method.
Has anybody made similar experience? Any ideas why the OLE automation interface is severely harmed, when Word 2010 is visible?
Feedback is welcome. DOORS client is 9.4.