Hi John,
I know this thread is a little old and I hope you don't mind me asking you some questions related to your word class. I am also needing a spell checker in VFP. I looked at your web site and downloaded your edtwrdspell class. It works great except for one general thing. In the code below, I get a window (it looks like Word with all the toolbars but has the VFP heading) that won't go away and is solid white. This occurs right after the .CheckSpelling command but before the next line. Do you have any idea what I can do? Any help would be much appreciated.
IF TYPE('THISFORM.owordDoc')<>'O'
WAIT WIND NOWA "Please Wait . . ."
THISFORM.addobject('oWordDoc','olecontrol','word.document')
ENDIF
WITH THISFORM.oWordDoc
.DoVerb(0)
.Object.Content = THIS.Text
.CheckSpelling
.Object.Application.Selection.WholeStory
This.Value = .Object.Application.Selection.Text
.Object.Application.Quit
ENDWITH
Previous
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