title: Open HTML files in Microsoft WORD without internet connection, How to exclude popup alerts?
body: <p>I've write an automated application in VB6 (and also in VB.NET) that opens an HTML documents for printing.
  My function works fine, without human interaction. </p>
  
  <p>Now we have put application machine off-line.</p>
  
  <p>When you open an HTML with Ms Word (all versions), it try to download all html internet reference (images, css), but it fails and show me a popup that alert me failed to download CSS and Images.</p>
  
  <p>I've not found an advanced option that deny files download from internet, in Word application and in Ole Word Object. 
  The problem is that the following code is blocked at third line because wait human interaction clicking on "OK" in popup.</p>
  
  <pre><code>ObjectName = "Word.Application"
  Set OleObj = CreateObject(ObjectName)
  Set OleDoc = OleObj.Documents.Open(FileIn, False, True ,False, "password") 'Block here
  OleDoc.PrintOut PrintToFile:=False, Background:=False
  </code></pre>
  
  <p>Do you know Word Option, registry option or custom VB or .NET code that exlude popup or deny download associated css or image files from internet?
  Help me,
  Thanks in advance</p>