I have a word document I want to parse with C#. There are plenty of tutorials out there, but I have a hard time deciding what library to use. I found the following dlls:
- Microsoft.Office.Interop.Word
- Microsoft.Office.Tools.Word
- Microsoft.Office.Tools.Word.v4.0.Utilities
- COM Microsoft Word 12.0 Object Library
- Open XML sdk
These are all I found on the web. Which one should I use? Which of those are obsolete?
You can also do it using NetOffice
Site: http://netoffice.codeplex.com/
Using it you don’t need to worry about versions and “Syntactically and semantically identical to the Microsoft Interop Assemblies” so you do your coding the same way.
Some other advantages:
assemblies, no need for VSTO