title: How to programmatically detect if the word(2003) document is corrupted?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/924128/how-to-programatically-tell-if-a-word-document-is-corrupt">How to programatically tell if a word document is corrupt?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to check if word(.doc binary format) document is corrupted using c#. 
  I'am generate PDF and html from existing doc files using Interop.Word and want to detect and isolate corrupted doc files for manually processing.
  Interop.Word do not generate any exception or event if file is corrupted it just show a dialog box for choosing right encoding. I suppress all dialogs using flag "DisplayAlerts = Word.WdAlertLevel.wdAlertsNone" because where's stop process execution.
  Any ideas?</p>