Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word/VFP Spell check
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Word/VFP Spell check
Divers
Thread ID:
00611372
Message ID:
00611372
Vues:
72
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
Fil
Voir

Click here to load this message in the networking platform