January 1, 2005

WinTask - ErrorCodeText

'
' ErrorCodeText
'
' Author: Joe Strazzere
'

Dim ErrorCode$(6118)
Function GetErrorCode$(errornumber)
  If errornumber < 0 or errornumber > 6118 then
   GetErrorCode$ = "*** Unknown Error ***"
  Else
   GetErrorCode$ = ErrorCode$(errornumber)
  EndIf
EndFunction
i=0
While i <=6118
  ErrorCode$(i) = "*** Unknown Error ***"
  i=i+1
Wend
ErrorCode$(0)= "SUCCESS"
ErrorCode$(1)= "INVALID FUNCTION"
ErrorCode$(2)= "FILE NOT FOUND"
ErrorCode$(3)= "PATH NOT FOUND"
ErrorCode$(4)= "TOO MANY OPEN FILES"
ErrorCode$(5)= "ACCESS DENIED"
ErrorCode$(6)= "INVALID HANDLE"
ErrorCode$(7)= "ARENA TRASHED"
ErrorCode$(8)= "NOT ENOUGH MEMORY"
ErrorCode$(9)= "INVALID BLOCK"
ErrorCode$(10)= "BAD ENVIRONMENT"
ErrorCode$(11)= "BAD FORMAT"
ErrorCode$(12)= "INVALID ACCESS"
ErrorCode$(13)= "INVALID DATA"
ErrorCode$(14)= "OUTOFMEMORY"
ErrorCode$(15)= "INVALID DRIVE"
ErrorCode$(16)= "CURRENT DIRECTORY"
ErrorCode$(17)= "NOT SAME DEVICE"
ErrorCode$(18)= "NO MORE FILES"
ErrorCode$(19)= "WRITE PROTECT"
ErrorCode$(20)= "BAD UNIT"
ErrorCode$(21)= "NOT READY"
ErrorCode$(22)= "BAD COMMAND"
ErrorCode$(23)= "CRC"
ErrorCode$(24)= "BAD LENGTH"
ErrorCode$(25)= "SEEK"
ErrorCode$(26)= "NOT DOS DISK"
ErrorCode$(27)= "SECTOR NOT FOUND"
ErrorCode$(28)= "OUT OF PAPER"
ErrorCode$(29)= "WRITE FAULT"
ErrorCode$(30)= "READ FAULT"
ErrorCode$(31)= "GEN FAILURE"
ErrorCode$(32)= "SHARING VIOLATION"
ErrorCode$(33)= "LOCK VIOLATION"
ErrorCode$(34)= "WRONG DISK"
ErrorCode$(36)= "SHARING BUFFER EXCEEDED"
ErrorCode$(38)= "HANDLE EOF"
ErrorCode$(39)= "HANDLE DISK FULL"
ErrorCode$(50)= "NOT SUPPORTED"
ErrorCode$(51)= "REM NOT LIST"
ErrorCode$(52)= "DUP NAME"
ErrorCode$(53)= "BAD NETPATH"
ErrorCode$(54)= "NETWORK BUSY"
ErrorCode$(55)= "DEV NOT EXIST"
ErrorCode$(56)= "TOO MANY CMDS"
ErrorCode$(57)= "ADAP HDW ERR"
ErrorCode$(58)= "BAD NET RESP"
ErrorCode$(59)= "UNEXP NET ERR"
ErrorCode$(60)= "BAD REM ADAP"
ErrorCode$(61)= "PRINTQ FULL"
ErrorCode$(62)= "NO SPOOL SPACE"
ErrorCode$(63)= "PRINT CANCELLED"
ErrorCode$(64)= "NETNAME DELETED"
ErrorCode$(65)= "NETWORK ACCESS DENIED"
ErrorCode$(66)= "BAD DEV TYPE"
ErrorCode$(67)= "BAD NET NAME"
ErrorCode$(68)= "TOO MANY NAMES"
ErrorCode$(69)= "TOO MANY SESS"
ErrorCode$(70)= "SHARING PAUSED"
ErrorCode$(71)= "REQ NOT ACCEP"
ErrorCode$(72)= "REDIR PAUSED"
ErrorCode$(80)= "FILE EXISTS"
ErrorCode$(82)= "CANNOT MAKE"
ErrorCode$(83)= "FAIL I24"
ErrorCode$(84)= "OUT OF STRUCTURES"
ErrorCode$(85)= "ALREADY ASSIGNED"
ErrorCode$(86)= "INVALID PASSWORD"
ErrorCode$(87)= "INVALID PARAMETER"
ErrorCode$(88)= "NET WRITE FAULT"
ErrorCode$(89)= "NO PROC SLOTS"
ErrorCode$(100)= "TOO MANY SEMAPHORES"
ErrorCode$(101)= "EXCL SEM ALREADY OWNED"
ErrorCode$(102)= "SEM IS SET"
ErrorCode$(103)= "TOO MANY SEM REQUESTS"
ErrorCode$(104)= "INVALID AT INTERRUPT TIME"
ErrorCode$(105)= "SEM OWNER DIED"
ErrorCode$(106)= "SEM USER LIMIT"
ErrorCode$(107)= "DISK CHANGE"
ErrorCode$(108)= "DRIVE LOCKED"
ErrorCode$(109)= "BROKEN PIPE"
ErrorCode$(110)= "OPEN FAILED"
ErrorCode$(111)= "BUFFER OVERFLOW"
ErrorCode$(112)= "DISK FULL"
ErrorCode$(113)= "NO MORE SEARCH HANDLES"
ErrorCode$(114)= "INVALID TARGET HANDLE"
ErrorCode$(117)= "INVALID CATEGORY"
ErrorCode$(118)= "INVALID VERIFY SWITCH"
ErrorCode$(119)= "BAD DRIVER LEVEL"
ErrorCode$(120)= "CALL NOT IMPLEMENTED"
ErrorCode$(121)= "SEM TIMEOUT"
ErrorCode$(122)= "INSUFFICIENT BUFFER"
ErrorCode$(123)= "INVALID NAME"
ErrorCode$(124)= "INVALID LEVEL"
ErrorCode$(125)= "NO VOLUME LABEL"
ErrorCode$(126)= "MOD NOT FOUND"
ErrorCode$(127)= "PROC NOT FOUND"
ErrorCode$(128)= "WAIT NO CHILDREN"
ErrorCode$(129)= "CHILD NOT COMPLETE"
ErrorCode$(130)= "DIRECT ACCESS HANDLE"
ErrorCode$(131)= "NEGATIVE SEEK"
ErrorCode$(132)= "SEEK ON DEVICE"
ErrorCode$(133)= "IS JOIN TARGET"
ErrorCode$(134)= "IS JOINED"
ErrorCode$(135)= "IS SUBSTED"
ErrorCode$(136)= "NOT JOINED"
ErrorCode$(137)= "NOT SUBSTED"
ErrorCode$(138)= "JOIN TO JOIN"
ErrorCode$(139)= "SUBST TO SUBST"
ErrorCode$(140)= "JOIN TO SUBST"
ErrorCode$(141)= "SUBST TO JOIN"
ErrorCode$(142)= "BUSY DRIVE"
ErrorCode$(143)= "SAME DRIVE"
ErrorCode$(144)= "DIR NOT ROOT"
ErrorCode$(145)= "DIR NOT EMPTY"
ErrorCode$(146)= "IS SUBST PATH"
ErrorCode$(147)= "IS JOIN PATH"
ErrorCode$(148)= "PATH BUSY"
ErrorCode$(149)= "IS SUBST TARGET"
ErrorCode$(150)= "SYSTEM TRACE"
ErrorCode$(151)= "INVALID EVENT COUNT"
ErrorCode$(152)= "TOO MANY MUXWAITERS"
ErrorCode$(153)= "INVALID LIST FORMAT"
ErrorCode$(154)= "LABEL TOO LONG"
ErrorCode$(155)= "TOO MANY TCBS"
ErrorCode$(156)= "SIGNAL REFUSED"
ErrorCode$(157)= "DISCARDED"
ErrorCode$(158)= "NOT LOCKED"
ErrorCode$(159)= "BAD THREADID ADDR"
ErrorCode$(160)= "BAD ARGUMENTS"
ErrorCode$(161)= "BAD PATHNAME"
ErrorCode$(162)= "SIGNAL PENDING"
ErrorCode$(164)= "MAX THRDS REACHED"
ErrorCode$(167)= "LOCK FAILED"
ErrorCode$(170)= "BUSY"
ErrorCode$(173)= "CANCEL VIOLATION"
ErrorCode$(174)= "ATOMIC LOCKS NOT SUPPORTED"
ErrorCode$(180)= "INVALID SEGMENT NUMBER"
ErrorCode$(182)= "INVALID ORDINAL"
ErrorCode$(183)= "ALREADY EXISTS"
ErrorCode$(186)= "INVALID FLAG NUMBER"
ErrorCode$(187)= "SEM NOT FOUND"
ErrorCode$(188)= "INVALID STARTING CODESEG"
ErrorCode$(189)= "INVALID STACKSEG"
ErrorCode$(190)= "INVALID MODULETYPE"
ErrorCode$(191)= "INVALID EXE SIGNATURE"
ErrorCode$(192)= "EXE MARKED INVALID"
ErrorCode$(193)= "BAD EXE FORMAT"
ErrorCode$(194)= "ITERATED DATA EXCEEDS 64k"
ErrorCode$(195)= "INVALID MINALLOCSIZE"
ErrorCode$(196)= "DYNLINK FROM INVALID RING"
ErrorCode$(197)= "IOPL NOT ENABLED"
ErrorCode$(198)= "INVALID SEGDPL"
ErrorCode$(199)= "AUTODATASEG EXCEEDS 64k"
ErrorCode$(200)= "RING2SEG MUST BE MOVABLE"
ErrorCode$(201)= "RELOC CHAIN XEEDS SEGLIM"
ErrorCode$(202)= "INFLOOP IN RELOC CHAIN"
ErrorCode$(203)= "ENVVAR NOT FOUND"
ErrorCode$(205)= "NO SIGNAL SENT"
ErrorCode$(206)= "FILENAME EXCED RANGE"
ErrorCode$(207)= "RING2 STACK IN USE"
ErrorCode$(208)= "META EXPANSION TOO LONG"
ErrorCode$(209)= "INVALID SIGNAL NUMBER"
ErrorCode$(210)= "THREAD 1 INACTIVE"
ErrorCode$(212)= "LOCKED"
ErrorCode$(214)= "TOO MANY MODULES"
ErrorCode$(215)= "NESTING NOT ALLOWED"
ErrorCode$(230)= "BAD PIPE"
ErrorCode$(231)= "PIPE BUSY"
ErrorCode$(232)= "NO DATA"
ErrorCode$(233)= "PIPE NOT CONNECTED"
ErrorCode$(234)= "MORE DATA"
ErrorCode$(240)= "VC DISCONNECTED"
ErrorCode$(254)= "INVALID EA NAME"
ErrorCode$(255)= "EA LIST INCONSISTENT"
ErrorCode$(259)= "NO MORE ITEMS"
ErrorCode$(266)= "CANNOT COPY"
ErrorCode$(267)= "DIRECTORY"
ErrorCode$(275)= "EAS DIDNT FIT"
ErrorCode$(276)= "EA FILE CORRUPT"
ErrorCode$(277)= "EA TABLE FULL"
ErrorCode$(278)= "INVALID EA HANDLE"
ErrorCode$(282)= "EAS NOT SUPPORTED"
ErrorCode$(288)= "NOT OWNER"
ErrorCode$(298)= "TOO MANY POSTS"
ErrorCode$(317)= "MR MID NOT FOUND"
ErrorCode$(487)= "INVALID ADDRESS"
ErrorCode$(534)= "ARITHMETIC OVERFLOW"
ErrorCode$(535)= "PIPE CONNECTED"
ErrorCode$(536)= "PIPE LISTENING"
ErrorCode$(994)= "EA ACCESS DENIED"
ErrorCode$(995)= "OPERATION ABORTED"
ErrorCode$(996)= "IO INCOMPLETE"
ErrorCode$(997)= "IO PENDING"
ErrorCode$(998)= "NOACCESS"
ErrorCode$(999)= "SWAPERROR"
ErrorCode$(1001)= "STACK OVERFLOW"
ErrorCode$(1002)= "INVALID MESSAGE"
ErrorCode$(1003)= "CAN NOT COMPLETE"
ErrorCode$(1004)= "INVALID FLAGS"
ErrorCode$(1005)= "UNRECOGNIZED VOLUME"
ErrorCode$(1006)= "FILE INVALID"
ErrorCode$(1007)= "FULLSCREEN MODE"
ErrorCode$(1008)= "NO TOKEN"
ErrorCode$(1009)= "BADDB"
ErrorCode$(1010)= "BADKEY"
ErrorCode$(1011)= "CANTOPEN"
ErrorCode$(1012)= "CANTREAD"
ErrorCode$(1013)= "CANTWRITE"
ErrorCode$(1014)= "REGISTRY RECOVERED"
ErrorCode$(1015)= "REGISTRY CORRUPT"
ErrorCode$(1016)= "REGISTRY IO FAILED"
ErrorCode$(1017)= "NOT REGISTRY FILE"
ErrorCode$(1018)= "KEY DELETED"
ErrorCode$(1019)= "NO LOG SPACE"
ErrorCode$(1020)= "KEY HAS CHILDREN"
ErrorCode$(1021)= "CHILD MUST BE VOLATILE"
ErrorCode$(1022)= "NOTIFY ENUM DIR"
ErrorCode$(1051)= "DEPENDENT SERVICES RUNNING"
ErrorCode$(1052)= "INVALID SERVICE CONTROL"
ErrorCode$(1053)= "SERVICE REQUEST TIMEOUT"
ErrorCode$(1054)= "SERVICE NO THREAD"
ErrorCode$(1055)= "SERVICE DATABASE LOCKED"
ErrorCode$(1056)= "SERVICE ALREADY RUNNING"
ErrorCode$(1057)= "INVALID SERVICE ACCOUNT"
ErrorCode$(1058)= "SERVICE DISABLED"
ErrorCode$(1059)= "CIRCULAR DEPENDENCY"
ErrorCode$(1060)= "SERVICE DOES NOT EXIST"
ErrorCode$(1061)= "SERVICE CANNOT ACCEPT CTRL"
ErrorCode$(1062)= "SERVICE NOT ACTIVE"
ErrorCode$(1063)= "FAILED SERVICE CONTROLLER CONNECT"
ErrorCode$(1064)= "EXCEPTION IN SERVICE"
ErrorCode$(1065)= "DATABASE DOES NOT EXIST"
ErrorCode$(1066)= "SERVICE SPECIFIC ERROR"
ErrorCode$(1067)= "PROCESS ABORTED"
ErrorCode$(1068)= "SERVICE DEPENDENCY FAIL"
ErrorCode$(1069)= "SERVICE LOGON FAILED"
ErrorCode$(1070)= "SERVICE START HANG"
ErrorCode$(1071)= "INVALID SERVICE LOCK"
ErrorCode$(1072)= "SERVICE MARKED FOR DELETE"
ErrorCode$(1073)= "SERVICE EXISTS"
ErrorCode$(1074)= "ALREADY RUNNING LKG"
ErrorCode$(1075)= "SERVICE DEPENDENCY DELETED"
ErrorCode$(1076)= "BOOT ALREADY ACCEPTED"
ErrorCode$(1077)= "SERVICE NEVER STARTED"
ErrorCode$(1078)= "DUPLICATE SERVICE NAME"
ErrorCode$(1100)= "END OF MEDIA"
ErrorCode$(1101)= "FILEMARK DETECTED"
ErrorCode$(1102)= "BEGINNING OF MEDIA"
ErrorCode$(1103)= "SETMARK DETECTED"
ErrorCode$(1104)= "NO DATA DETECTED"
ErrorCode$(1105)= "PARTITION FAILURE"
ErrorCode$(1106)= "INVALID BLOCK LENGTH"
ErrorCode$(1107)= "DEVICE NOT PARTITIONED"
ErrorCode$(1108)= "UNABLE TO LOCK MEDIA"
ErrorCode$(1109)= "UNABLE TO UNLOAD MEDIA"
ErrorCode$(1110)= "MEDIA CHANGED"
ErrorCode$(1111)= "BUS RESET"
ErrorCode$(1112)= "NO MEDIA IN DRIVE"
ErrorCode$(1113)= "NO UNICODE TRANSLATION"
ErrorCode$(1114)= "DLL INIT FAILED"
ErrorCode$(1115)= "SHUTDOWN IN PROGRESS"
ErrorCode$(1116)= "NO SHUTDOWN IN PROGRESS"
ErrorCode$(1117)= "IO DEVICE"
ErrorCode$(1118)= "SERIAL NO DEVICE"
ErrorCode$(1119)= "IRQ BUSY"
ErrorCode$(1120)= "MORE WRITES"
ErrorCode$(1121)= "COUNTER TIMEOUT"
ErrorCode$(1122)= "FLOPPY ID MARK NOT FOUND"
ErrorCode$(1123)= "FLOPPY WRONG CYLINDER"
ErrorCode$(1124)= "FLOPPY UNKNOWN ERROR"
ErrorCode$(1125)= "FLOPPY BAD REGISTERS"
ErrorCode$(1126)= "DISK RECALIBRATE FAILED"
ErrorCode$(1127)= "DISK OPERATION FAILED"
ErrorCode$(1128)= "DISK RESET FAILED"
ErrorCode$(1129)= "EOM OVERFLOW"
ErrorCode$(1130)= "NOT ENOUGH SERVER MEMORY"
ErrorCode$(1131)= "POSSIBLE DEADLOCK"
ErrorCode$(1132)= "MAPPED ALIGNMENT"
ErrorCode$(2202)= "BAD USERNAME"
ErrorCode$(2250)= "NOT CONNECTED"
ErrorCode$(2401)= "OPEN FILES"
ErrorCode$(2404)= "DEVICE IN USE"
ErrorCode$(1200)= "BAD DEVICE"
ErrorCode$(1201)= "CONNECTION UNAVAIL"
ErrorCode$(1202)= "DEVICE ALREADY REMEMBERED"
ErrorCode$(1203)= "NO NET OR BAD PATH"
ErrorCode$(1204)= "BAD PROVIDER"
ErrorCode$(1205)= "CANNOT OPEN PROFILE"
ErrorCode$(1206)= "BAD PROFILE"
ErrorCode$(1207)= "NOT CONTAINER"
ErrorCode$(1208)= "EXTENDED ERROR"
ErrorCode$(1209)= "INVALID GROUPNAME"
ErrorCode$(1210)= "INVALID COMPUTERNAME"
ErrorCode$(1211)= "INVALID EVENTNAME"
ErrorCode$(1212)= "INVALID DOMAINNAME"
ErrorCode$(1213)= "INVALID SERVICENAME"
ErrorCode$(1214)= "INVALID NETNAME"
ErrorCode$(1215)= "INVALID SHARENAME"
ErrorCode$(1216)= "INVALID PASSWORDNAME"
ErrorCode$(1217)= "INVALID MESSAGENAME"
ErrorCode$(1218)= "INVALID MESSAGEDEST"
ErrorCode$(1219)= "SESSION CREDENTIAL CONFLICT"
ErrorCode$(1220)= "REMOTE SESSION LIMIT EXCEEDED"
ErrorCode$(1221)= "DUP DOMAINNAME"
ErrorCode$(1222)= "NO NETWORK"
ErrorCode$(1300)= "NOT ALL ASSIGNED"
ErrorCode$(1301)= "SOME NOT MAPPED"
ErrorCode$(1302)= "NO QUOTAS FOR ACCOUNT"
ErrorCode$(1303)= "LOCAL USER SESSION KEY"
ErrorCode$(1304)= "NULL LM PASSWORD"
ErrorCode$(1305)= "UNKNOWN REVISION"
ErrorCode$(1306)= "REVISION MISMATCH"
ErrorCode$(1307)= "INVALID OWNER"
ErrorCode$(1308)= "INVALID PRIMARY GROUP"
ErrorCode$(1309)= "NO IMPERSONATION TOKEN"
ErrorCode$(1310)= "CANT DISABLE MANDATORY"
ErrorCode$(1311)= "NO LOGON SERVERS"
ErrorCode$(1312)= "NO SUCH LOGON SESSION"
ErrorCode$(1313)= "NO SUCH PRIVILEGE"
ErrorCode$(1314)= "PRIVILEGE NOT HELD"
ErrorCode$(1315)= "INVALID ACCOUNT NAME"
ErrorCode$(1316)= "USER EXISTS"
ErrorCode$(1317)= "NO SUCH USER"
ErrorCode$(1318)= "GROUP EXISTS"
ErrorCode$(1319)= "NO SUCH GROUP"
ErrorCode$(1320)= "MEMBER IN GROUP"
ErrorCode$(1321)= "MEMBER NOT IN GROUP"
ErrorCode$(1322)= "LAST ADMIN"
ErrorCode$(1323)= "WRONG PASSWORD"
ErrorCode$(1324)= "ILL FORMED PASSWORD"
ErrorCode$(1325)= "PASSWORD RESTRICTION"
ErrorCode$(1326)= "LOGON FAILURE"
ErrorCode$(1327)= "ACCOUNT RESTRICTION"
ErrorCode$(1328)= "INVALID LOGON HOURS"
ErrorCode$(1329)= "INVALID WORKSTATION"
ErrorCode$(1330)= "PASSWORD EXPIRED"
ErrorCode$(1331)= "ACCOUNT DISABLED"
ErrorCode$(1332)= "NONE MAPPED"
ErrorCode$(1333)= "TOO MANY LUIDS REQUESTED"
ErrorCode$(1334)= "LUIDS EXHAUSTED"
ErrorCode$(1335)= "INVALID SUB AUTHORITY"
ErrorCode$(1336)= "INVALID ACL"
ErrorCode$(1337)= "INVALID SID"
ErrorCode$(1338)= "INVALID SECURITY DESCR"
ErrorCode$(1340)= "BAD INHERITANCE ACL"
ErrorCode$(1341)= "SERVER DISABLED"
ErrorCode$(1342)= "SERVER NOT DISABLED"
ErrorCode$(1343)= "INVALID ID AUTHORITY"
ErrorCode$(1344)= "ALLOTTED SPACE EXCEEDED"
ErrorCode$(1345)= "INVALID GROUP ATTRIBUTES"
ErrorCode$(1346)= "BAD IMPERSONATION LEVEL"
ErrorCode$(1347)= "CANT OPEN ANONYMOUS"
ErrorCode$(1348)= "BAD VALIDATION CLASS"
ErrorCode$(1349)= "BAD TOKEN TYPE"
ErrorCode$(1350)= "NO SECURITY ON OBJECT"
ErrorCode$(1351)= "CANT ACCESS DOMAIN INFO"
ErrorCode$(1352)= "INVALID SERVER STATE"
ErrorCode$(1353)= "INVALID DOMAIN STATE"
ErrorCode$(1354)= "INVALID DOMAIN ROLE"
ErrorCode$(1355)= "NO SUCH DOMAIN"
ErrorCode$(1356)= "DOMAIN EXISTS"
ErrorCode$(1357)= "DOMAIN LIMIT EXCEEDED"
ErrorCode$(1358)= "INTERNAL DB CORRUPTION"
ErrorCode$(1359)= "INTERNAL ERROR"
ErrorCode$(1360)= "GENERIC NOT MAPPED"
ErrorCode$(1361)= "BAD DESCRIPTOR FORMAT"
ErrorCode$(1362)= "NOT LOGON PROCESS"
ErrorCode$(1363)= "LOGON SESSION EXISTS"
ErrorCode$(1364)= "NO SUCH PACKAGE"
ErrorCode$(1365)= "BAD LOGON SESSION STATE"
ErrorCode$(1366)= "LOGON SESSION COLLISION"
ErrorCode$(1367)= "INVALID LOGON TYPE"
ErrorCode$(1368)= "CANNOT IMPERSONATE"
ErrorCode$(1369)= "RXACT INVALID STATE"
ErrorCode$(1370)= "RXACT COMMIT FAILURE"
ErrorCode$(1371)= "SPECIAL ACCOUNT"
ErrorCode$(1372)= "SPECIAL GROUP"
ErrorCode$(1373)= "SPECIAL USER"
ErrorCode$(1374)= "MEMBERS PRIMARY GROUP"
ErrorCode$(1375)= "TOKEN ALREADY IN USE"
ErrorCode$(1376)= "NO SUCH ALIAS"
ErrorCode$(1377)= "MEMBER NOT IN ALIAS"
ErrorCode$(1378)= "MEMBER IN ALIAS"
ErrorCode$(1379)= "ALIAS EXISTS"
ErrorCode$(1380)= "LOGON NOT GRANTED"
ErrorCode$(1381)= "TOO MANY SECRETS"
ErrorCode$(1382)= "SECRET TOO LONG"
ErrorCode$(1383)= "INTERNAL DB ERROR"
ErrorCode$(1384)= "TOO MANY CONTEXT IDS"
ErrorCode$(1385)= "LOGON TYPE NOT GRANTED"
ErrorCode$(1386)= "NT CROSS ENCRYPTION REQUIRED"
ErrorCode$(1387)= "NO SUCH MEMBER"
ErrorCode$(1388)= "INVALID MEMBER"
ErrorCode$(1389)= "TOO MANY SIDS"
ErrorCode$(1390)= "LM CROSS ENCRYPTION REQUIRED"
ErrorCode$(1391)= "NO INHERITANCE"
ErrorCode$(1392)= "FILE CORRUPT"
ErrorCode$(1393)= "DISK CORRUPT"
ErrorCode$(1394)= "NO USER SESSION KEY"
ErrorCode$(1400)= "INVALID WINDOW HANDLE"
ErrorCode$(1401)= "INVALID MENU HANDLE"
ErrorCode$(1402)= "INVALID CURSOR HANDLE"
ErrorCode$(1403)= "INVALID ACCEL HANDLE"
ErrorCode$(1404)= "INVALID HOOK HANDLE"
ErrorCode$(1405)= "INVALID DWP HANDLE"
ErrorCode$(1406)= "TLW WITH WSCHILD"
ErrorCode$(1407)= "CANNOT FIND WND CLASS"
ErrorCode$(1408)= "WINDOW OF OTHER THREAD"
ErrorCode$(1409)= "HOTKEY ALREADY REGISTERED"
ErrorCode$(1410)= "CLASS ALREADY EXISTS"
ErrorCode$(1411)= "CLASS DOES NOT EXIST"
ErrorCode$(1412)= "CLASS HAS WINDOWS"
ErrorCode$(1413)= "INVALID INDEX"
ErrorCode$(1414)= "INVALID ICON HANDLE"
ErrorCode$(1415)= "PRIVATE DIALOG INDEX"
ErrorCode$(1416)= "LISTBOX ID NOT FOUND"
ErrorCode$(1417)= "NO WILDCARD CHARACTERS"
ErrorCode$(1418)= "CLIPBOARD NOT OPEN"
ErrorCode$(1419)= "HOTKEY NOT REGISTERED"
ErrorCode$(1420)= "WINDOW NOT DIALOG"
ErrorCode$(1421)= "CONTROL ID NOT FOUND"
ErrorCode$(1422)= "INVALID COMBOBOX MESSAGE"
ErrorCode$(1423)= "WINDOW NOT COMBOBOX"
ErrorCode$(1424)= "INVALID EDIT HEIGHT"
ErrorCode$(1425)= "DC NOT FOUND"
ErrorCode$(1426)= "INVALID HOOK FILTER"
ErrorCode$(1427)= "INVALID FILTER PROC"
ErrorCode$(1428)= "HOOK NEEDS HMOD"
ErrorCode$(1429)= "GLOBAL ONLY HOOK"
ErrorCode$(1430)= "JOURNAL HOOK SET"
ErrorCode$(1431)= "HOOK NOT INSTALLED"
ErrorCode$(1432)= "INVALID LB MESSAGE"
ErrorCode$(1433)= "SETCOUNT ON BAD LB"
ErrorCode$(1434)= "LB WITHOUT TABSTOPS"
ErrorCode$(1435)= "DESTROY OBJECT OF OTHER THREAD"
ErrorCode$(1436)= "CHILD WINDOW MENU"
ErrorCode$(1437)= "NO SYSTEM MENU"
ErrorCode$(1438)= "INVALID MSGBOX STYLE"
ErrorCode$(1439)= "INVALID SPI VALUE"
ErrorCode$(1440)= "SCREEN ALREADY LOCKED"
ErrorCode$(1441)= "HWNDS HAVE DIFF PARENT"
ErrorCode$(1442)= "NOT CHILD WINDOW"
ErrorCode$(1443)= "INVALID GW COMMAND"
ErrorCode$(1444)= "INVALID THREAD ID"
ErrorCode$(1445)= "NON MDICHILD WINDOW"
ErrorCode$(1446)= "POPUP ALREADY ACTIVE"
ErrorCode$(1447)= "NO SCROLLBARS"
ErrorCode$(1448)= "INVALID SCROLLBAR RANGE"
ErrorCode$(1449)= "INVALID SHOWWIN COMMAND"
ErrorCode$(1500)= "EVENTLOG FILE CORRUPT"
ErrorCode$(1501)= "EVENTLOG CANT START"
ErrorCode$(1502)= "LOG FILE FULL"
ErrorCode$(1503)= "EVENTLOG FILE CHANGED"
ErrorCode$(1700)= "RPC S INVALID STRING BINDING"
ErrorCode$(1701)= "RPC S WRONG KIND OF BINDING"
ErrorCode$(1702)= "RPC S INVALID BINDING"
ErrorCode$(1703)= "RPC S PROTSEQ NOT SUPPORTED"
ErrorCode$(1704)= "RPC S INVALID RPC PROTSEQ"
ErrorCode$(1705)= "RPC S INVALID STRING UUID"
ErrorCode$(1706)= "RPC S INVALID ENDPOINT FORMAT"
ErrorCode$(1707)= "RPC S INVALID NET ADDR"
ErrorCode$(1708)= "RPC S NO ENDPOINT FOUND"
ErrorCode$(1709)= "RPC S INVALID TIMEOUT"
ErrorCode$(1710)= "RPC S OBJECT NOT FOUND"
ErrorCode$(1711)= "RPC S ALREADY REGISTERED"
ErrorCode$(1712)= "RPC S TYPE ALREADY REGISTERED"
ErrorCode$(1713)= "RPC S ALREADY LISTENING"
ErrorCode$(1714)= "RPC S NO PROTSEQS REGISTERED"
ErrorCode$(1715)= "RPC S NOT LISTENING"
ErrorCode$(1716)= "RPC S UNKNOWN MGR TYPE"
ErrorCode$(1717)= "RPC S UNKNOWN IF"
ErrorCode$(1718)= "RPC S NO BINDINGS"
ErrorCode$(1719)= "RPC S NO PROTSEQS"
ErrorCode$(1720)= "RPC S CANT CREATE ENDPOINT"
ErrorCode$(1721)= "RPC S OUT OF RESOURCES"
ErrorCode$(1722)= "RPC S SERVER UNAVAILABLE"
ErrorCode$(1723)= "RPC S SERVER TOO BUSY"
ErrorCode$(1724)= "RPC S INVALID NETWORK OPTIONS"
ErrorCode$(1725)= "RPC S NO CALL ACTIVE"
ErrorCode$(1726)= "RPC S CALL FAILED"
ErrorCode$(1727)= "RPC S CALL FAILED DNE"
ErrorCode$(1728)= "RPC S PROTOCOL ERROR"
ErrorCode$(1730)= "RPC S UNSUPPORTED TRANS SYN"
ErrorCode$(1732)= "RPC S UNSUPPORTED TYPE"
ErrorCode$(1733)= "RPC S INVALID TAG"
ErrorCode$(1734)= "RPC S INVALID BOUND"
ErrorCode$(1735)= "RPC S NO ENTRY NAME"
ErrorCode$(1736)= "RPC S INVALID NAME SYNTAX"
ErrorCode$(1737)= "RPC S UNSUPPORTED NAME SYNTAX"
ErrorCode$(1739)= "RPC S UUID NO ADDRESS"
ErrorCode$(1740)= "RPC S DUPLICATE ENDPOINT"
ErrorCode$(1741)= "RPC S UNKNOWN AUTHN TYPE"
ErrorCode$(1742)= "RPC S MAX CALLS TOO SMALL"
ErrorCode$(1743)= "RPC S STRING TOO LONG"
ErrorCode$(1744)= "RPC S PROTSEQ NOT FOUND"
ErrorCode$(1745)= "RPC S PROCNUM OUT OF RANGE"
ErrorCode$(1746)= "RPC S BINDING HAS NO AUTH"
ErrorCode$(1747)= "RPC S UNKNOWN AUTHN SERVICE"
ErrorCode$(1748)= "RPC S UNKNOWN AUTHN LEVEL"
ErrorCode$(1749)= "RPC S INVALID AUTH IDENTITY"
ErrorCode$(1750)= "RPC S UNKNOWN AUTHZ SERVICE"
ErrorCode$(1751)= "EPT S INVALID ENTRY"
ErrorCode$(1752)= "EPT S CANT PERFORM OP"
ErrorCode$(1753)= "EPT S NOT REGISTERED"
ErrorCode$(1754)= "RPC S NOTHING TO EXPORT"
ErrorCode$(1755)= "RPC S INCOMPLETE NAME"
ErrorCode$(1756)= "RPC S INVALID VERS OPTION"
ErrorCode$(1757)= "RPC S NO MORE MEMBERS"
ErrorCode$(1758)= "RPC S NOT ALL OBJS UNEXPORTED"
ErrorCode$(1759)= "RPC S INTERFACE NOT FOUND"
ErrorCode$(1760)= "RPC S ENTRY ALREADY EXISTS"
ErrorCode$(1761)= "RPC S ENTRY NOT FOUND"
ErrorCode$(1762)= "RPC S NAME SERVICE UNAVAILABLE"
ErrorCode$(1763)= "RPC S INVALID NAF ID"
ErrorCode$(1764)= "RPC S CANNOT SUPPORT"
ErrorCode$(1765)= "RPC S NO CONTEXT AVAILABLE"
ErrorCode$(1766)= "RPC S INTERNAL ERROR"
ErrorCode$(1767)= "RPC S ZERO DIVIDE"
ErrorCode$(1768)= "RPC S ADDRESS ERROR"
ErrorCode$(1769)= "RPC S FP DIV ZERO"
ErrorCode$(1770)= "RPC S FP UNDERFLOW"
ErrorCode$(1771)= "RPC S FP OVERFLOW"
ErrorCode$(1772)= "RPC X NO MORE ENTRIES"
ErrorCode$(1773)= "RPC X SS CHAR TRANS OPEN FAIL"
ErrorCode$(1774)= "RPC X SS CHAR TRANS SHORT FILE"
ErrorCode$(1775)= "RPC X SS IN NULL CONTEXT"
ErrorCode$(1777)= "RPC X SS CONTEXT DAMAGED"
ErrorCode$(1778)= "RPC X SS HANDLES MISMATCH"
ErrorCode$(1779)= "RPC X SS CANNOT GET CALL HANDLE"
ErrorCode$(1780)= "RPC X NULL REF POINTER"
ErrorCode$(1781)= "RPC X ENUM VALUE OUT OF RANGE"
ErrorCode$(1782)= "RPC X BYTE COUNT TOO SMALL"
ErrorCode$(1783)= "RPC X BAD STUB DATA"
ErrorCode$(1784)= "INVALID USER BUFFER"
ErrorCode$(1785)= "UNRECOGNIZED MEDIA"
ErrorCode$(1786)= "NO TRUST LSA SECRET"
ErrorCode$(1787)= "NO TRUST SAM ACCOUNT"
ErrorCode$(1788)= "TRUSTED DOMAIN FAILURE"
ErrorCode$(1789)= "TRUSTED RELATIONSHIP FAILURE"
ErrorCode$(1790)= "TRUST FAILURE"
ErrorCode$(1791)= "RPC S CALL IN PROGRESS"
ErrorCode$(1792)= "NETLOGON NOT STARTED"
ErrorCode$(1793)= "ACCOUNT EXPIRED"
ErrorCode$(1794)= "REDIRECTOR HAS OPEN HANDLES"
ErrorCode$(1795)= "PRINTER DRIVER ALREADY INSTALLED"
ErrorCode$(1796)= "UNKNOWN PORT"
ErrorCode$(1797)= "UNKNOWN PRINTER DRIVER"
ErrorCode$(1798)= "UNKNOWN PRINTPROCESSOR"
ErrorCode$(1799)= "INVALID SEPARATOR FILE"
ErrorCode$(1800)= "INVALID PRIORITY"
ErrorCode$(1801)= "INVALID PRINTER NAME"
ErrorCode$(1802)= "PRINTER ALREADY EXISTS"
ErrorCode$(1803)= "INVALID PRINTER COMMAND"
ErrorCode$(1804)= "INVALID DATATYPE"
ErrorCode$(1805)= "INVALID ENVIRONMENT"
ErrorCode$(1806)= "RPC S NO MORE BINDINGS"
ErrorCode$(1807)= "NOLOGON INTERDOMAIN TRUST ACCOUNT"
ErrorCode$(1808)= "NOLOGON WORKSTATION TRUST ACCOUNT"
ErrorCode$(1809)= "NOLOGON SERVER TRUST ACCOUNT"
ErrorCode$(1810)= "DOMAIN TRUST INCONSISTENT"
ErrorCode$(1811)= "SERVER HAS OPEN HANDLES"
ErrorCode$(1812)= "RESOURCE DATA NOT FOUND"
ErrorCode$(1813)= "RESOURCE TYPE NOT FOUND"
ErrorCode$(1814)= "RESOURCE NAME NOT FOUND"
ErrorCode$(1815)= "RESOURCE LANG NOT FOUND"
ErrorCode$(1816)= "NOT ENOUGH QUOTA"
ErrorCode$(1898)= "RPC S GROUP MEMBER NOT FOUND"
ErrorCode$(1899)= "EPT S CANT CREATE"
ErrorCode$(1900)= "RPC S INVALID OBJECT"
ErrorCode$(1901)= "INVALID TIME"
ErrorCode$(1902)= "INVALID FORM NAME"
ErrorCode$(1903)= "INVALID FORM SIZE"
ErrorCode$(1904)= "ALREADY WAITING"
ErrorCode$(1905)= "PRINTER DELETED"
ErrorCode$(1906)= "INVALID PRINTER STATE"
ErrorCode$(6118)= "NO BROWSER SERVERS FOUND"
msgbox(GetErrorCode$(9999))