Spelling Check in RTF (or other Activex) controls

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.
 
S

Stephen Lebans

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top