Results 1 to 3 of 3

Thread: Spell Checker in App

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    Atlanta, GA
    Posts
    80

    Question

    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
    Kevin

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Posts
    94
    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:
    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    Atlanta, GA
    Posts
    80

    Thumbs up

    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!
    Kevin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width