Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spellcheck Class for Word problem
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00124462
Message ID:
00135192
Views:
18
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
Map
View

Click here to load this message in the networking platform