Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A list of Error codes?

Status
Not open for further replies.

Jusfire

Programmer
Jan 18, 2002
31
0
0
US
Does anyone know of an error code reference list online or elsewhere?

Would be helpful for debugging (for me and probably others).

 
Hallo,

This code might help...
Code:
Public Sub OutputErrorCodes()
Dim intFileNo
Dim intErrorCode As Long
intFileNo = FreeFile
Open "C:\ErrorCodes.txt" For Output As intFileNo
For intErrorCode = 0 To 65535
  Print #intFileNo, intErrorCode, Error(intErrorCode)
Next intErrorCode
Close #intFileNo
End Sub

- Frink
 
has an extensive list, with explanations of what may cause the error (a bit more useful than err.description sometimes). It's in the library section somewhere. Can't be any more precise at the moment 'cos the site isn't working properly at the moment, but from memory, it's near the VB stuff.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top