Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Automation with WordPerfect 8
Message
From
23/10/1998 11:01:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00147178
Message ID:
00149853
Views:
28
>1. You may want to update to service pack 3
>2. Try setting _VFP.AutoYield = .F. and =SYS(2333,0) first and then try your code
>
>>Hi there,
>>
>>Has anyone linked VFP5 to WordPerfect 8?
>>
>>I have an application that talks to Word quite happily and I was starting to set it up with WordPerfect however as soon as I do anything after the CreateObject Visual FoxPro 5.0a crashes. Even the simplest code falls over eg
>>
>> local WP
>>
>> WP = CreateObject("WordPerfect.PerfectScript")
>>
>> WP.Type ("Hello There")
>> WP.Quit
>> WP = ""
>>
>>This works fine in Visual Basic what am I missing?
>>
>>TIA
>>Jeremy


Hi Rick -

Can you explain what your suggestions do (not necessarily the updating to Service Pack 3, but the others)? I was looking for info on this several months ago, and couldn't find much involving WP. I also got the impression that people had more success with DDE than using OLE, although I believe the questions involved earlier versions of either VFP or WP. More important, have you had luck doing this (and to Jeremy: did you have any luck with Rick's suggestion?) I still have to do this, but wasn't sure which avenue to pursue. It also wasn't clear to me why one method would be preferable to the other.

Sylvia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform