MS Word 2000 and Visual Studio 2003 Interop

The other day a friend of mine was asking me about reading content from a Word document. To me, this was an interesting question. I'd previously been exposed to Excel Interop and was somewhat intrigued by his problem.

After a quick search of the web I came across numerous solutions on how to write to a Word document but nothing on reading from one.

So, I put together a small VS2003 solution in VB with some NUnit 2.2.2 tests as a "spike" solution. I am making available the solution at for a limited time? (maybe) I hope that other's might find the simple class and unit tests handy.

Note: updated based on feedback. Better clean up with finally block.

No comments:

Post a Comment