I'm writing a spell checker using my library libspellcheck. I have a function to add a word to the dictionary. However, it keeps throwing an exception saying that the dictionary doesn't exist, when it really does. To enable spell check as you type, follow these steps: Click the File tab, and then click Options. In the Word Options dialog box, click Proofing. Make sure that the Check spelling as you type check box is selected in the When correcting spelling and grammar in Word section.
-->Symptoms
Symptom 1
Spell Checker does not recognize misspelled words in Word 2010.
Symptom 2
When you click the Spelling & Grammar button in the Proofing group on the **Review **tab in Word 2010, you receive one of the following messages:
- The spelling and grammar check is complete.
- Proofing Tools are not installed for default language, try re-installing proofing tools.
Cause
This may occur for any one of the following reasons:
- Proofing tools are not installed.
- The Speller EN-US add-in is disabled.
- The Do not check spelling or grammar check box is selected.
- Another language is set as default.
- The following subkey exists in the registry:HKEY_CURRENT_USERSoftwareMicrosoftShared ToolsProofingTools1.0Overrideen-US
Resolution
To resolve this problem, complete the methods that are provided in this article in the order in which they are presented. If you have previously tried one of these methods, and it did not help to resolve the problem, you can skip that method and proceed to the next one.
Method 1: Install proofing tools
To install the proofing tools, follow these steps:
- Exit all programs.
- Click Start, and then click Control Panel.
- Follow the appropriate step for your operating system:
- In Windows 7, click Uninstall a program under Programs.
- In Windows Vista, double-click Programs and Features.
- In earlier versions of Windows, double-click Add or Remove Programs.
- Click Microsoft Office Edition, and then click Change.NoteIn this step and in the following step, the placeholder **Edition **represents the Microsoft Office edition that is installed on the computer.
- In the Microsoft Office Edition dialog box, click Add or Remove Features, and then click Continue.
- Expand Office Shared Features, click the icon to the left of Proofing Tools, and then click Run all from My Computer.
Method 2: Enable the speller EN-US add-in
To enable the add-in, follow these steps:
- Click the File tab, and then click Options.
- On the left, click Add-Ins.
- At the bottom of the Word Options dialog box, click the drop-down arrow under Manage, change the selection from COM Add-ins to Disabled items, and then click Go.
- In the Disabled Items dialog box, check whether Speller EN-US (nlsdata0009.dll) is available in the Select the ones you which to re-enable box.
- If Speller EN-US (nlsdata0009.dll) is listed, click it, and then click Enable.
- Click Close, and then click OK.
Method 3: Enable Check Spelling as you type
To enable spell check as you type, follow these steps:
- Click the File tab, and then click Options.
- In the Word Options dialog box, click Proofing.
- Make sure that the Check spelling as you type check box is selected in the When correcting spelling and grammar in Word section.
- Make sure that all check boxes are cleared in the Exception for section.
- Click OK.
Method 4: Select language and clear 'Do not check spelling or grammar'
To clear the 'Do not check spelling or grammar check box, follow these steps:
- Select the entire contents of the document.
- On the Review tab, click Language in the Language group, and then click Set Proofing Language.
- In the Language dialog box, select the language that you want.
- If the Do not check spelling or grammar check box is selected, click to clear the check box.
- Click OK.NoteIf this method fixes the problem, repeat steps 1 through 3 to reopen to the Language dialog box, and then click Set As Default
Method 5: Modify the registry
Important
This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs.
To fix this problem yourself, follow these steps:
- Click Start, and then click Run.
- In the Run box, type regedit, and then press Enter.
- Locate and then right-click the following registry subkey:HKEY_CURRENT_USERSoftwareMicrosoftShared ToolsProofing Tools1.0Override
- Click Delete.
- Exit Registry Editor.
- Exit and then restart Word.
More information
If none of the methods in this article resolve the problem, try the following:
![Function Function](/uploads/1/2/5/6/125684978/922027696.png)
Remove and then restore the battery at the bottom of the laptop. If the problem persists, replace the battery.
his problem has been reported only on the following Dell laptops:
- Inspiron 1501
- Vostro 1000
Richard notes that when doing a spelling check in the background, Word dutifully underlines words it thinks are spelled incorrectly. However, when he right-clicks on the word in order to add it to the dictionary, he finds the 'add to dictionary' option grayed out, so that he cannot add it.
The most likely cause for this situation is that the language of the word you are trying to add doesn't match the language of the dictionary. Word keeps track of the language of both your text and allows you to specify with what language a dictionary should be associated. You can check the language of your dictionary in this manner:
- Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 display the File tab of the ribbon and then click Options.)
- Click Proofing at the left side of the dialog box.
- Click on the Custom Dictionaries button. Word displays the Custom Dictionaries dialog box. (See Figure 1.)
- In the list of dictionaries, select the one you want to check.
- At the bottom of the dialog box is the Language drop-down list. This should be set to All Languages.
- Close all the open dialog boxes when you are done.
Figure 1. The Custom Dictionaries dialog box.
If you have the custom dictionary set to something other than All Languages in step 5, then Word only lets you add words that are in the language you specified. In other words, if you set the language in step 6 to French, then you won't be able to add any words that are in English, German, Spanish, or some other language. You can always set up multiple custom dictionaries and make sure that each of them is configured to the different languages in which you are working.
If the above steps don't solve the problem, then it is possible that you don't have a custom dictionary set up on your system. Of course, if you tried to go through the above steps, you would have noticed fairly easily that there wasn't a custom dictionary—there would have been nothing shown in the Custom Dictionaries dialog box (step 3).
You could also check to make sure that the dictionary is accessible by you and that you have rights to work on it. This potential problem normally only crops up if you are using a custom dictionary on a network and you don't have sufficient permissions to make changes to the file. If you suspect this is an issue in your case, you should talk with your network administrator to get it checked out.