General information
Category:
Forms & Form designer
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only