How Spell Check works

  • Thread starter Thread starter John Wright
  • Start date Start date
J

John Wright

I have a VB program that will be generating documentation that will be
stored for 60 years. This program really needs to have spell check and I
read the post below on using spell check. I was wondering if there was a
way to tap into the Word spell check that shows the underlined spelling
errors as the person types. If so, can someone point me to some code to
try? It would be really nice to show the errors as they type (like word
does) instead of doing the spell check manually or on a save.

Any help is much appreciated.

John Wright
 
It would be the same code as calling the spell check on save, but call it on
each keystroke. This could really impact applicaiton performance though.
 
I have a VB program that will be generating documentation that will be
stored for 60 years. This program really needs to have spell check and I
read the post below on using spell check. I was wondering if there was a
way to tap into the Word spell check that shows the underlined spelling
errors as the person types. If so, can someone point me to some code to
try? It would be really nice to show the errors as they type (like word
does) instead of doing the spell check manually or on a save.

Any help is much appreciated.

John Wright

First off, you want to decide whether you'll create your own spelling
check engine or you'll use an existing one. Creating your own may
require a database(at least, an Access) and comparision operations,
which will probably slow down your application everytime when a kind
of event is raised such as textbox's textchanged.

Or use an existing component which may really help you, that should be
a wrapped one for .NET including methods, really saves your time.

A quick Google search returns these:
http://www.google.com/search?hl=en&q=.net+spell+check&btnG=Google+Search

Thanks,

Onur Güzel
 
Back
Top