Results 1 to 4 of 4

Thread: Maybe API's Gurus know this one !!?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226

    Maybe API's Gurus know this one !!?

    Hi all.

    I'm accessing MS Word's dictionary and everything is working fine.

    BUT what I'm looking for is actually the entire suggested word list in such a way that I could get the list loaded either into a file or into an array of words.

    Does anybody know how to do that?

    Thanx.


    Lyla.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    If all you're looking for is a comprehensive word list, there are plenty of free resources to be had on the net, try Here.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    Hi.

    Aaron thanx 4 replying. I like your site. I wish you guys a life.

    Okey. Now to my ing problem:

    For example: Try Word's spell checker with the word schol

    Word would suggest 4 words: School, Schools, stole and scroll.

    What I want is those suggested words only.

    Remeber, VBA has Getsuggestedwords method for the spell checker But not for the Dictionary.

    That link was fine But it doesn't have the language I want


    Thanx again.

    Lyla.

  4. #4
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Not sure if this is what you want?

    VB Code:
    1. Dim msWord As New Word.Application
    2. Set msWord = Word.Application
    3. With msWord
    4.     .Visible = True
    5. Set spellsugs = .GetSpellingSuggestions("zzz", , , wdSpellword)
    6.     If spellsugs.Count <> 0 Then
    7.     For Each sug In spellsugs
    8.         MsgBox sug.Name
    9.     Next sug
    10.     End If
    11. End With
    12. Set spellsugs = Nothing
    13. Set msWord = Nothing

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