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
Précédent
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