Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word/VFP Spell check
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Word/VFP Spell check
Miscellaneous
Thread ID:
00611372
Message ID:
00611372
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform