title: Vbscript msxml12.XMLHTTP error handling
body: <p>I use this vbscript code, to download web page:</p>
  
  <pre><code>Dim oXML
  Set oXML = CreateObject("msxm12.XMLHTTP")
  oXML.Open "GET", "mysite.com", False
  oXML.Send
  </code></pre>
  
  <p>If there is no such web site, I get an error <code>80004005, Unspecified error at line "oXML.Open ..."</code></p>
  
  <p>How can I handle this error in vbscript? I want to catch this error and show msgbox with my error, i.e. web page is not available.</p>