Spell checker
I am using web browser control in c#.. i just want to use spell checker...I am added netspell dll for dis.. I don't know how to impliment spellchecker in my code.. please give me solution...
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

rohit gothecha2 pointsPosted Apr 30, 2015, 12:19 AM EDT
Please find the Attatched file...
/*---------------*/
internal System.Windows.Forms.RichTextBox Document;
internal NetSpell.SpellChecker.Spelling SpellChecker;
// add event handlers
this.SpellChecker.MisspelledWord +=
new NetSpell.SpellChecker.Spelling.MisspelledWordEventHandler(
this.SpellChecker_MisspelledWord);
this.SpellChecker.EndOfText +=
new NetSpell.SpellChecker.Spelling.EndOfTextEventHandler(
this.SpellChecker_EndOfText);
this.SpellChecker.DoubledWord +=
new NetSpell.SpellChecker.Spelling.DoubledWordEventHandler(
this.SpellChecker_DoubledWord);
private void SpellChecker_DoubledWord(object sender,
NetSpell.SpellChecker.SpellingEventArgs args)
{
// update text
this.Document.Text = this.SpellChecker.Text;
}
private void SpellChecker_EndOfText(object sender,
System.EventArgs args)
{
// update text
this.Document.Text = this.SpellChecker.Text;
}
private void SpellChecker_MisspelledWord(object sender,
NetSpell.SpellChecker.SpellingEventArgs args)
{
// update text
this.Document.Text = this.SpellChecker.Text;
}
// Start Spell Checking
SpellChecker.Text = this.Document.Text;
SpellChecker.SpellCheck();
Gowtham RajamanickamRank #57 · 29K pointsPosted Apr 30, 2015, 12:23 AM EDT
priya32 pointsPosted Apr 30, 2015, 1:49 AM EDT
priya32 pointsPosted Apr 30, 2015, 1:49 AM EDT