Hey John,
Tanks for the tip on spel checking... it works greate now..
I found an article by John V. Petersen in the MSDN that had a full working example of using Word's spell checker. If anyone is lurking just search the MSDN with "John V. Petersen spell". I was using January 2000 MSDN I know I'm lazy...
Thanks
>Hey John,
>
>Look at the GetSpellingSuggestions method, which returns a SpellingSuggestions collection with all suggested changes.
>
>Also, look at the CheckSpellingAsYouType property.
>
>>I have seen John K.'s FAQ on using Word's built in spell checker. Is there a way to return the suggested correction?
>>
>>oWord=CREATEOBJECT("Word.Application")
>>lCorrect = oWord.CheckSpelling("This phrase")
>>
>>If lCorrect is true, all words send to the CheckSpelling method are correct. If false, one or more words are wrong.
>>
>>Thanks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement