The following is a list of VSSpell error codes that can be trapped. We recommend that you declare these values as either global of local constants and compare any error codes to this list of values. You can change the names of these constants, but we suggest that you choose something that is descriptive of the error that occurred.
Value |
Constant |
Description |
---|---|---|
0 |
ERR_NONE |
No errors. |
32001 |
ERR_MAINDICTFILENOTFOUND |
VSSpell could not find the main dictionary file. |
32002 |
ERR_CANNOTOPENMAINDICTFIL |
VSSpell could not open the main dictionary file. |
32003 |
ERR_CANNOTCREATECUSTOMDICT |
VSSpell could not create the custom dictionary file. |
32004 |
ERR_CUSTOMDICTTOOLARGE |
The custom dictionary file is too large (over 64k bytes). |
32005 |
ERR_ALREADYCHECKING |
Cannot assign text to the Text property while spell checking it. |
32006 |
ERR_WRONGDICTIONARYVERSION |
The main dictionary file has the wrong version (VSSpell6 understands versions 1 and 2 only). |
32007 |
ERR_INVALIDMAINDICTFILE |
The main dictionary file is invalid (not a dictionary file). |
32008 |
ERR_WORDTOOLONG |
A word longer than 50 characters was assigned to the CheckWord property. |
32009 |
ERR_INVALIDHWND |
An invalid value was assigned to the AutoLinkHwnd property (not a window handle). |