I am using a instance of Microsoft.Office.Interop.Word, I loop through each Paragraph and run a regex on each one looking for text.
The problem I am having is out of 50 documents 2 documents will not run through the code. I do not get any feedback, the WINWORD.EXE CPU is at 0% and it never ends.
This leaves a thread open on the code calling the Interop, until the WINWORD.EXE is killed.
I first would like to be able to set a maximum processing time, so this will close out correctly, even if it fails.
Any input or suggestions would be great.