title: Reading RTF File Containing an OLE Embedded Object
body: <p><strong><em>Question :</em></strong> </p>
  
  <p>I need to read an RTF File that contains an OLE Object as innerdocument.</p>
  
  <p>RTF File = [ Ole object (word document) is embedded into it.]</p>
  
  <p><a href="https://jmp.sh/v/7v5LgXJo6RC4IF0Wlkzd" rel="nofollow noreferrer">Sample RTF File that contains word as OLE Embedded into it.</a></p>
  
  <p><strong>Reference I have done :</strong> </p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/14779647/extract-embedded-image-object-in-rtf">OLE as Image in RTF </a></li>
  </ol>
  
  <p>Here they have done a program to extract the image embedded as OLE in RTF.</p>
  
  <p>I had extracted the program which is marked as correct answer , but its does not work for me.</p>
  
  <ol start="2">
  <li><p>Using OpenXML SDK. (it cannot be able to open RTF Files.)</p></li>
  <li><p>some other SDK like GemBox etc.. Which cannot be able to open innerdocument ie. ole in RTF)</p></li>
  </ol>
  
  <p><strong>Work I have done :</strong></p>
  
  <p>I had done using <em>microsoft.office.interop.word.dll</em> which gives an accurate answer , but it will not work on server.</p>
  
  <p><em>For eg:</em> it opens an RTF File using MS WORD and which is installed in client machine where there is no WORD APPLICATION Installed in server.</p>
  
  <p>so , this is not suitable for me.</p>
  
  <p>I need to open and read the RTF OLE Content and i need to store in a string(say for eg). bcoz with string i can do lot of things.</p>
  
  <p><strong><em>Can anyone has an idea to solve my issue.?</em></strong></p>