Click here to Skip to main content
15,885,366 members
Articles / Desktop Programming / ATL
Article

A Spell Check IE Menu Extension

Rate me:
Please Sign up or sign in to vote.
2.40/5 (5 votes)
10 Sep 2002CPOL2 min read 104K   529   23   21
An IE menu extension that allows you to spell check your form submissions.

Introduction

One of the many things that I have found lacking when using web based forums, such as CodeProject, is the lack of spell checking facilities within IE. So that I can post messages on forums that do not contain spelling mistakes, I created this little tool that allows you to check the spelling of certain words using the Google Spelling API.

Installation

Extract the signed TxtSpell.dll from the ZIP file and install using regsvr32. Visit and register with the Google Spelling API site to get a key to use with the DLL. This key will be stored in the registry under HKEY_CURRENT_USER\Software\Many Monkeys Limited\SpellChecker\Google. The object will ask you for the key when it requires it, so keep it to hand.

Usage

Once installed, the Spell Checker is easy to use. Select a word or words (up to 10) in the form that you wish to check the spelling of and select the Spell Check option from the context menu.

Image 1

If Google decides that the words are incorrect then a new set of words will be returned and will be used to replace the currently selected text.

Image 2

If there is an error, that maybe attributed to an incorrect or missing key (not 100%). Then the following install screen will popup. This install window can be used to install a new key and check if it works.

Image 3

References

Limitations

  • Sometimes the install screen appears when the error is not due to an incorrect key but a problem with the Google service. However these are very rare.
  • The number of words that can be checked in one go is 10. This limit is imposed by the Google web service.
  • If all the words are correct or appear to be, then Google returns no answer and this is currently interpreted to be an error.

Future work

It is intended to use a different spell checking mechanism that will allow the user to select from a collection of words when a mis-spelt word is found. It is also intended to provide source code once I have integrated another spell checking mechanism such that there would be more than a few lines of non-wizard code.

I hope you find this tool useful. Please feel free to comment and offer suggestions.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Employed (other) Purplebricks
Australia Australia
All articles are supplied as-is, as a howto on a particular task that worked for me in the past. None of the articles are supposed to be out-of-the-box freeware controls and nor should they be treated as such. Caveat emptor.

Now living and working in Australia, trying to be involved in the local .NET and Agile communities when I can.

I spend a good chunk of my spare time building OpenCover and maintaining PartCover both of which are Code Coverage utilities for .NET.

Comments and Discussions

 
Generalspell check Pin
pure_m2314-Sep-04 1:16
pure_m2314-Sep-04 1:16 
GeneralProblem with Spell Check -- Request Not Going To Google Web API Pin
Vasudevan Deepak Kumar16-Dec-02 3:03
Vasudevan Deepak Kumar16-Dec-02 3:03 
Hi,

Does this component has any restrictions/limitations that I should not be behind any proxy server/NAT firewalls? Since I am behind a NAT firewall, it never goes to Google but hits my NAT firewall and request goes to NAT server's Apache Web Server and gets a 404 entry into the log.

Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
GeneralRe: Problem with Spell Check -- Request Not Going To Google Web API Pin
Shaun Wilde16-Dec-02 11:05
Shaun Wilde16-Dec-02 11:05 
Generalregsvr32 error... Pin
tptorpey11-Dec-02 3:28
tptorpey11-Dec-02 3:28 
GeneralRe: regsvr32 error... Pin
11-Dec-02 5:09
suss11-Dec-02 5:09 
QuestionRe: regsvr32 error... Pin
Robert Wang198320-Nov-06 18:50
Robert Wang198320-Nov-06 18:50 
QuestionDidn't work for me..Did I miss something? Pin
Kant12-Sep-02 16:44
Kant12-Sep-02 16:44 
AnswerRe: Didn't work for me..Did I miss something? Pin
Shaun Wilde12-Sep-02 21:33
Shaun Wilde12-Sep-02 21:33 
GeneralRe: Worked...I used the "COM Explorer"... Pin
Kant13-Sep-02 6:00
Kant13-Sep-02 6:00 
GeneralRe: Worked...I used the "COM Explorer"... Pin
Shaun Wilde13-Sep-02 10:19
Shaun Wilde13-Sep-02 10:19 
GeneralRe: http://www.4dev.com Pin
Kant15-Sep-02 5:24
Kant15-Sep-02 5:24 
GeneralRe: http://www.4dev.com Pin
Shaun Wilde15-Sep-02 11:34
Shaun Wilde15-Sep-02 11:34 
GeneralMaybe I should use a grammer checker instead Pin
Shaun Wilde11-Sep-02 21:25
Shaun Wilde11-Sep-02 21:25 
QuestionSource code? Pin
Todd Jeffreys11-Sep-02 15:05
Todd Jeffreys11-Sep-02 15:05 
AnswerRe: Source code? Pin
ColinDavies11-Sep-02 15:12
ColinDavies11-Sep-02 15:12 
GeneralRe: Source code? Pin
Shaun Wilde11-Sep-02 21:22
Shaun Wilde11-Sep-02 21:22 
GeneralRe: Source code? Pin
ColinDavies11-Sep-02 21:41
ColinDavies11-Sep-02 21:41 
GeneralRe: Source code? Pin
Shaun Wilde11-Sep-02 22:01
Shaun Wilde11-Sep-02 22:01 
AnswerRe: Source code? Pin
Nish Nishant11-Sep-02 15:32
sitebuilderNish Nishant11-Sep-02 15:32 
GeneralRe: Source code? Pin
Michael Dunn11-Sep-02 20:46
sitebuilderMichael Dunn11-Sep-02 20:46 
GeneralRe: Source code? Pin
ColinDavies11-Sep-02 21:36
ColinDavies11-Sep-02 21:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.