title: VBS going to a URL in the background
body: <p>I would like to have my VB script go to a URL in the background.  It can open a browser in the background and close it afterwards.  The more "silent" the better.  I had 2 implementations that work on my machine but doesn't work on another:</p>
  
  <pre><code>Set WshShell = WScript.CreateObject("WScript.Shell") 
  Return = WshShell.Run("iexplore.exe " &amp;  myURL, 1) 
  </code></pre>
  
  <p>Here's another:</p>
  
  <pre><code>Set objExplorer = WScript.CreateObject _
  ("InternetExplorer.Application", "IE_")
  objExplorer.Navigate myURL
  'Determines if the window is visible or not
  objExplorer.Visible = 0
  'Suspend the script for 1 minute
  WScript.Sleep 6000
  'Close the IE (instantiated) window
  objExplorer.quit
  </code></pre>
  
  <p>...where myURL is a string variable containing the URL.  </p>
  
  <p>I can't figure out why either of the above works on my laptop but not on the server.  Any help would be appreciated.</p>