Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How-to GetSpellingSuggestions
Message
From
30/08/2002 08:48:47
 
 
To
29/08/2002 18:07:28
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00695222
Message ID:
00695371
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform