Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How-to GetSpellingSuggestions
Message
From
30/08/2002 09:11:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
30/08/2002 08:48:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00695222
Message ID:
00695380
Views:
21
>>Is there a way to retrieve the collection returned by Word.GetSpellingSuggestions("some-word") method?
>
>You need to traverse the collection and grab the data. My Advisor Answers piece in the July issue was about this. The key code you need is:
>
>oSuggestions = oWord.GetSpellingSuggestions("whatever")
>FOR EACH oSuggestion in oSuggestions
> * oSuggestion.Name contains this suggested spelling.
>ENDFOR
>
>Tamar

That reminds me of a question I wanted to ask a long while ago. Do you know whether Word has the capability of showing (not necessarily through Automation) words in the dictionary that match a specific pattern? Let's assume that for a crossword puzzle, I need a match for "?a???b??c", or for the children's homework, we want to search for words that contain a certain combination of letters, simething like "*abc*".

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform