title: How can I call documents.open and avoid the 'file in use' dialog?
body: <p>I am writing some very <a href="https://github.com/tobya/DocTo" rel="nofollow noreferrer">simple code</a> to open a word document, save it in a new format and close document.   However I run into problems if the document has been left in a locked state and get the 'File in Use' dialog.</p>
  
  <p><img src="https://i.stack.imgur.com/ZVvAq.gif" alt="File in Use Dialog"></p>
  
  <p>Now I would be delighted to pick option 1 or 3 automatically, but can't seem to find a way.  Ideally I would prevent it from showing at all via a parameter on the open method.  I'm using Delphi, but that's not really relevant.</p>
  
  <pre><code>    Wordapp.documents.Open(InputFile);
  </code></pre>