title: read doc file very fast c#
body: <p>I want to extract text from .doc files, I use this code</p>
  
  <pre><code>Microsoft.Office.Interop.Word.Application word = new  Microsoft.Office.Interop.Word.Application();
  object miss = System.Reflection.Missing.Value;
  object path = FileToSave_path + FileNameToSave + ".doc";
  object readOnly = true;
  Microsoft.Office.Interop.Word.Document docs = word.Documents.Open(ref path, ref miss, ref readOnly, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss);
  string totaltext = "";
  for (int p = 0; p &lt; docs.Paragraphs.Count; p++)
  {
      ExtractedHTML += " \r\n " + docs.Paragraphs[p + 1].Range.Text.ToString();
  }
  
  docs.Close();
  word.Quit();
  </code></pre>
  
  <p>the problem is that this code is very slow, I have many .doc files with many paragraphs
  any other way to extract from .doc fast ?</p>