Search Forum
(53671 Postings)
Search Site/Articles

Archived Articles
712 Articles

C# Books
C# Consultants
What Is C#?
Download Compiler
Code Archive
Archived Articles
Advertise
Contribute
C# Jobs
Beginners Tutorial
C# Contractors
C# Consulting
Links
C# Manual
Contact Us
Legal

GoDiagram for .NET from Northwoods Software www.nwoods.com


 
Printable Version

Windows spell checker using SpellCheck.net Parser
By Waheed Khan

Introduction

In last article I wrote a SpellCheck.net parser with .NET regular expressions, which is free online spell checking site, and wrap it up in"Word.dll" file. For more explanation about this parser refer to my last article ( SpellCheck.NET Parser with C# regular expression ) In this article I put SpellCheck.net parser to the test with Windows Form Spell Checker application. Copy "Word.dll" and place it in a bin folder and create a reference to it within application.

How it works

Start loop through each word, if we found return status "true" continue else if we found return status "false" from CheckSpelling method then break, pass the same word to GetSpellingSuggestions method, and we will get the suggestions in ListBox control. By selecting from ListBox or TextBox control the word is replaced in exact position within TextBox control. Continue this process until end of string.

C# code

Source code included in zip format for download. And also I have included the Word.dll file, the implementation of SpellCheck.net parser explained in last article.

Output

Download WindowsSpellChecker.zip

SpellCheck.net Parser with C#