HOWTO: VB3: Use the Word SpellChecker Via OLE AutomationLast reviewed: September 29, 1997Article ID: Q114020 |
The information in this article applies to:
- Microsoft Visual Basic programming system for Windows, version 3.0 - Microsoft Word for Windows, version 6.0
SUMMARYThis article shows by example 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 3.0 application. The example takes the contents of a Visual Basic text box, inserts the text into a Word document, and then spell checks 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
SuperSonics(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 SuperSonics are going all the way this year!! Keywords : IAPOLE vb3only vbwin GnrlVb kbprg kbfasttip Technology : kbole kbvba Version : WINDOWS:3.0 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |