title: vbscript script reset at error
body: <p>I have a problem which I cannot get fixed,
  the solution tho is probably very simple for an expert to explain.
  tho I haven't managed to get it working, even with the help of existing
  posts on stackoverflow and some other scripting forums.</p>
  
  <p>so my goal is to have my simple script (which i'm using as a presentation) to reset
  itself at whatever error.
  I already experimented with 'on error resume next', this however just made my computer
  startup IE over and over again.</p>
  
  <p>so again my goal is to get my script keep going after an error turns up.
  if I am anoying anyone with my question please let me know and i'll change it or slab myself (depending on the situation).</p>
  
  <p>my script:</p>
  
  <p>Do
      'on error resume next'</p>
  
  <pre><code>Set objIE = CreateObject("InternetExplorer.Application")
  objIE.Visible = 1
  objIE.FullScreen=True
  objIE.Navigate "About:Blank"
  
  
  
  Do Until VarType(objIE) = 9
      WScript.Sleep 4000
      objIE.Navigate "local URL"
  
      WScript.Sleep 6000
      objIE.Navigate "local URL"
  
          WScript.Sleep 10000
      objIE.Navigate "URL"
  
  
          WScript.Sleep 8000
          objIE.Navigate "URL"
  
          WScript.Sleep 8000
          objIE.Navigate "URL"
  
                        WScript.Sleep 12000
          objIE.Navigate "URL"
  
          WScript.Sleep 10000
          objIE.Navigate "URL"
  
          WScript.Sleep 14000
          objIE.Navigate "URL"
  
              WScript.Sleep 14000
          objIE.Navigate "URL"
  
  
  Loop
  </code></pre>
  
  <p>Loop</p>