title: Open a word document from javascript
body: <p>I have to open a word document from javascript with cross browser support. Then I have to print that document.</p>
  
  <pre><code>var objWord = new ActiveXObject("Word.Application");
  objWord.Visible = true;
  objWord.Documents.Open(resumePath);
  </code></pre>
  
  <p>But I get reference error for ActiveXObject</p>