title: Can I get vbscript to show a friendly error message?
body: <p>I'm installing a network printers using vbscript and I want to show a friendly error if the queue doesn't exist or the printer server is unavailable, can I do this with VBScript? My code is below.</p>
  
  <pre><code>Dim net
  Set net = CreateObject("WScript.Network") 
  net.AddWindowsPrinterConnection "\\printsrv\HPLaser23"
  net.SetDefaultPrinter "\\printsrv\HPLaser23"
  </code></pre>
  
  <p>Many thanks for the help</p>
  
  <p>Steven</p>