narrow default width wide
colour style colour style colour style colour style

Great site for "800" error codes you get in VB/VBS

I've ran across it before but it was handy again today so I figured I would share.

http://www.computerperformance.co.uk/Logon/code/index.htm

The error number that your code spits out probably won't be in hex format so you can either convert it to hex in your code or you can just put the decimal number into Calc (in scientific mode) and convert it to Hex. Make sure you make it a negative number in calc before you convert it if the error number is negative.

Converting the error number to hex in your code (soooo complicated) :)

wscript.echo hex(err.number)