Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How-to GetSpellingSuggestions
Message
De
30/08/2002 08:48:47
 
 
À
29/08/2002 18:07:28
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00695222
Message ID:
00695371
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform