Spelling Check in RTF (or other Activex) controls

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Anybody knows how I can force the native MS Access 2000 spellcheck to
consider the text in an RTF control (namely Lebans' RTF2 control)?

I know there are some RTF activex out there that have built in
spellchecking, but I am not in a position to buy a license at this time.

Thanks for any suggestions you might have.
 
There is no direct/supported method for spell checking. I would have to
obtain a license from Microsoft(if possible) to use the standard MS
Office spell checker library.

If you need to spell check RTF then you could copy the contents of the
RTF control to MS WOrd. Spell check it in Word and then copy it back.
THis can all be done programmatically with or without user intervention.

Alternatively, you can use the built in plain Text Spellchecker in MS
Access. Copy the portion of the RTF2's contents via the PlainText
property to an Unbound TextBox control. Setfocus to the Text. Invoke the
Access Spellchecker. Examine the differences between the spell checked
text and the RTF2's Text. Make any changes as required.

Neither solution is simple but as with most things in life, you get what
you pay for!
:-)


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top