Click here to Skip to main content
15,125,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a WinForms project that contains a RichTextBox (RTB) written with VB
I have set ShortcutsEnabled = FALSE in the RTB
To use any Spell Checker I am guessing this would need to set to TRUE

That is NOT my question! I have been reading for way more hours than I care to admit
With the understanding that Spell Checking is easy if you have a ASP.Net OR WPF project
Well I don't so here are the three candidates from NuGet NONE of these candidates offer much help
WeCantSpell.Hunspell and VPKSoft.SpellCheckUtility and NetSpell

I am not asking for a recommendation
Because I can not find a tutorial and am clueless on how to implement these Add In's with code
As well as NOT knowing if they are compatible with WinForms
I even looked at this CP post
i00 Spell Check and Control Extensions - No Third Party Components Required![^]

Even if I use NuGet to import the Add In How do I Code in VB to tell the import to check the RTB I am willing to use MS Office 2003 but linking that to the project is a mystery

What I have tried:

NOTHING I have no clue really 30 characters
Posted
Updated 17-Aug-20 19:52pm

1 solution

1. There is a nuget package that you can try of: NHunspell, recall long back it used to work.
Reference: NHunspellTextBoxExtender - A Spellchecking IExtenderProvider for TextBoxes using Hunspell for .NET[^]

2. I also found an old article that has sample demostration of spell check in winforms as custom control built on top of ricktextbox: Visual Basic Spell Check Enabled Rich Text Box Custom Control[^]

try out!
   
v2

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




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900