title: Embed word document into ASP.net page and access using VBscript
body: <p>I have some code that opens a word document using VBScript on an ASP.net page:</p>
  
  <pre><code>set objWord = CreateObject("Word.Application")
  
  objWord.Visible = True
  
  objWord.Documents.Open "c:\inetpub\wwwroot\JSWordTest\test.doc", False, False, False
  </code></pre>
  
  <p>This works great but opens the word doc in another window. Ideally I would like to make this look as if it is contained in the current page perhaps in an IFrame. I have some other buttons which paste text into the word document when clicked. </p>
  
  <p>I cannot just set the src of the iframe to the word document as need a reference to the word document (objWord) to allow me to paste text into it in real time again using Vbscript to do this.</p>
  
  <p>Not sure if this is possible but any ideas/alternatives welcome?</p>
  
  <p>Requirements:
  The word doc needs to be displayed from web browser</p>
  
  <p>At the side of the word document will be some buttons which when clicked paste text into it</p>