How would I go about implementing the Microsoft Spell check in my application. All computers running my application have MS Office 97 at least.
I would like to force the users to learn how to spell!!!
Thanks,
Kevin
Printable View
How would I go about implementing the Microsoft Spell check in my application. All computers running my application have MS Office 97 at least.
I would like to force the users to learn how to spell!!!
Thanks,
Kevin
There are lots of examples of this. On this site alone I found this:
http://www.vbsquare.com/articles/spellchecker/
and this:
http://www.vbsquare.com/tips/tip242.html
Also from Microsoft I found this tip:
Quote:
Spell check RTF documents in Visual Basic
To spell check RTF documents, you could resort to embedding Word into your application. However, if you plan to use the WebBrowser control, there's no need to program Word for spell checking. That's because the WebBrowser control provides this functionality for you. To access it, you use the WebBrowser control's ExecWB() method with the OLECMDID_SPELL flag. To illustrate, add the WebBrowser control to a form, then add the following code to the form's Load() event
WebBrowser1.Navigate "D:\Internet\spell.rtf"
Replace the path with any string that points to an RTF file. Next, add a command button, and enter this code in its Click() event:
WebBrowser1.ExecWB OLECMDID_SPELL, OLECMDEXECOPT_DODEFAULT
Run the project. The WebBrowser displays the RTF file, and when you click the command button, VB runs through the normal spell check operation.
Shortly after posting, I was able to find the same pages. I was just about to post a follow up with the http://www.vbsquare.com/tips/tip242.html address.
That did exactly what I needed!!!
Thanks for your help!