title: Import doc and docx files in .Net and C#
body: <p>I'm writing a text editor and I want to add the possibility to import .doc and .docx files. I know that I could use OLE Automation, but if I use a recent OLE library, it won't work with those people with an older version of Word, and if instead I use an older version, it won't be able to read .docx files.
  Any ideas?
  Thanks</p>
  
  <p>EDIT: Another solution would be that, like my application works with HTML and RTF, convert .doc and .docx files with command line to one of these formats, something like this: <a href="http://www.snee.com/bobdc.blog/" rel="nofollow">http://www.snee.com/bobdc.blog/</a> 2007/09/using-word-for-command-line-co.html</p>