Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating WordPerfect from within VFP 7
Message
 
To
01/10/2002 14:24:50
Steve Jones
State Attorney, Third Circuit
Live Oak, Florida, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00706512
Message ID:
00706751
Views:
24
>Can anyone with experience give offer some guidance here? I am trying to automate WordPerfect (v8.0 & v10.0) from my VFP application. I don't want to use VBA (included in WordPerfect v10) because most of my clients use v8 which doesn't support VBA (that I know of).
>
>I am able to perform some simple functions such as fileopen, or type(). But I cannot get the merge functions to work. I am familiar with WP macros and perfectscript so I believe that if I can get this rolling I will be able to accomplish my goals.
>
>Help will be greatly appreciated.
>
>Steve Jones.

Steve,
In VF6 I had a routine that imported a comma delimited file then saved it as a WordPerfect data file then used that to merge. The Merge command was
*-- Run the MailMerge.
=oWP.MergeRun(2,lcMainDocument,2,lcDataFile,1)
Hope thats of help.
Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform