Click here to Skip to main content
6,596,602 members and growing! (20,348 online)
Email Password   helpLost your password?
Languages » C / C++ Language » General     Intermediate License: The Code Project Open License (CPOL)

A Spell Check IE Menu Extension

By Shaun Wilde

An IE menu extension that allows you to spell check your form submissions.
VC7Win2K, Visual Studio, ATL, Dev
Posted:10 Sep 2002
Views:67,160
Bookmarked:18 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
10 votes for this article.
Popularity: 3.85 Rating: 3.85 out of 5
2 votes, 40.0%
1

2
2 votes, 40.0%
3
1 vote, 20.0%
4

5

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.

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.

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.

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)

About the Author

Shaun Wilde


Member
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.

Been involved in programming from the early '80s. First on my Spectrum, then an Amstrad. Did lots of Fortran while at University before becoming involved in Forth, Prolog, Pascal, Occam, C and eventually C++. Eventually started programming on the Windows platform using Borland’s OWL framework, during my postgraduate years. When I started work in '94, I learnt MFC followed by COM and ATL and never looked back. Now working exclusively in .NET, working on WinForms, ASP.NET and the Compact Framework using C# and VB.NET. Using every bit of the .NET framework I can such as WebServices and writing my own controls for my .NET Portal, and for the Compact Framework. Still lots I don't know, but the end of the universe hasn't happened yet - I wonder if I'll have time?

I was a permanent employee for a number of companies until Dec 2000 before going independent after the DotCom I ws involved with went DotBomb. Now supplying consulting services to various institutions in London and surrounding regions i.e. UK Smile.

Now started using BizTalk and the latest .NET framework - yeha.
Occupation: Architect
Location: United Kingdom United Kingdom

Other popular C / C++ Language articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 21 of 21 (Total in Forum: 21) (Refresh)FirstPrevNext
Generalspell check Pinmemberpure_m232:16 14 Sep '04  
GeneralProblem with Spell Check -- Request Not Going To Google Web API PinmemberDeepak Kumar Vasudevan4:03 16 Dec '02  
GeneralRe: Problem with Spell Check -- Request Not Going To Google Web API PinmemberShaun Wilde12:05 16 Dec '02  
Generalregsvr32 error... Pinmembertptorpey4:28 11 Dec '02  
GeneralRe: regsvr32 error... PinmemberShaun Wilde6:09 11 Dec '02  
QuestionRe: regsvr32 error... PinmemberRobert Wang198319:50 20 Nov '06  
GeneralDidn't work for me..Did I miss something? PinmemberKant17:44 12 Sep '02  
GeneralRe: Didn't work for me..Did I miss something? PinmemberShaun Wilde22:33 12 Sep '02  
GeneralRe: Worked...I used the "COM Explorer"... PinmemberKant7:00 13 Sep '02  
GeneralRe: Worked...I used the "COM Explorer"... PinmemberShaun Wilde11:19 13 Sep '02  
GeneralRe: http://www.4dev.com PinmemberKant6:24 15 Sep '02  
GeneralRe: http://www.4dev.com PinmemberShaun Wilde12:34 15 Sep '02  
GeneralMaybe I should use a grammer checker instead PinmemberShaun Wilde22:25 11 Sep '02  
GeneralSource code? PinmemberTodd Jeffreys16:05 11 Sep '02  
GeneralRe: Source code? PinmemberColin^Davies16:12 11 Sep '02  
GeneralRe: Source code? PinmemberShaun Wilde22:22 11 Sep '02  
GeneralRe: Source code? PinmemberColin^Davies22:41 11 Sep '02  
GeneralRe: Source code? PinmemberShaun Wilde23:01 11 Sep '02  
GeneralRe: Source code? PineditorNishant S16:32 11 Sep '02  
GeneralRe: Source code? PinsitebuilderMichael Dunn21:46 11 Sep '02  
GeneralRe: Source code? PinmemberColin^Davies22:36 11 Sep '02  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 10 Sep 2002
Editor: Smitha Vijayan
Copyright 2002 by Shaun Wilde
Everything else Copyright © CodeProject, 1999-2009
Web21 | Advertise on the Code Project