title: How to convert .doc to .htm programatically?
body: <p>I want to convert <code>.doc</code> to <code>.htm</code> in C#. If I use <code>Microsoft.Office.Interop.Word</code> I get the exception :</p>
  
  <blockquote>
    <p>Retrieving the COM class factory for component with CLSID
    {000209FF-0000-0000-C000-000000000046} failed due to the following
    error: 80040154 Class not registered (Exception from HRESULT:
    0x80040154 (REGDB_E_CLASSNOTREG))</p>
  </blockquote>
  
  <p>Any solutions?</p>
  
  <p>[The possibe duplicate is this: <a href="https://stackoverflow.com/questions/5850499/c-sharp-convert-doc-to-htm">C# convert .doc to .htm</a>, but it does not solve my problem.]</p>