Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Word/VFP Spell check
I am trying to use VFP7.0 to do automation spell checking using Word 2000. I am running the code copied from Microsoft.com unchanged (Ref article Q271819).
Problem: I keep getting the message saying "No errors found" even when there are errors in the text.
The code in question is below and I have verified that goWord.Content.Text is being set to the correct string containing spelling errors.
Thanx.
goWordDoc.Content.Text = Alltrim(Thisform.pageframe1.page2.edtComments109.Value)
goWordDoc.Activate
If goWordDoc.SpellingErrors.Count > 0
goWordDoc.CHECKSPELLING
Else
=Messagebox([Spell check complete. No errors found],0,[Spell Check])
Endif
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