HOWTO: Use the Word 6.0 SpellChecker Via OLE Automation in VBLast reviewed: September 30, 1997Article ID: Q147818 |
The information in this article applies to:
SUMMARYThis article demonstrates how to use the built-in SpellChecker from Microsoft Word version 6.0 to check the spelling of the contents of a text box in a Microsoft Visual Basic version 4.0 application. The example takes the contents of a Visual Basic text box, inserts the text into a Word document, and then checks the spelling in the text. After the spell check is complete, you insert the spell checked text from the Word document back into the Visual Basic text box.
MORE INFORMATION
Step-by-Step Example
Mariners(Ignore) ar(Change to are) goig(Change to going) wa(Change to way) yeer(Change to year)After the last correction, you will get a Message box telling you that the spell check is complete. The results inserted back into the Text1 text box should say this:
The Seattle Mariners are going all the way this year!! Keywords : IAPOLE vb416 VB4WIN vbwin GnrlVb kbprg Technology : kbole kbvba Version : WINDOWS:4.0 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |