J
JStites
I have solved my problem but am curious as to why it solved it.
I was receiving the error "The object invoked has disconnected from its
clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))" at
"Word.DocumentClass.get_Bookmarks()". The line of code it fails on is
"m_oDoc.Bookmarks.Exists(bookmark)".
I received this error when my Word.Document object was static. If I remove
the static property then I do not receive this error. It is a fairly long
process that my code is running with Word and it also initializes the
Word.Document object often. Does anyone know why this is? Thanks for any
help.
I was receiving the error "The object invoked has disconnected from its
clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))" at
"Word.DocumentClass.get_Bookmarks()". The line of code it fails on is
"m_oDoc.Bookmarks.Exists(bookmark)".
I received this error when my Word.Document object was static. If I remove
the static property then I do not receive this error. It is a fairly long
process that my code is running with Word and it also initializes the
Word.Document object often. Does anyone know why this is? Thanks for any
help.