Word Perfect DDE Example (OpenInsight Specific)
At 29 NOV 2000 07:05:35PM Dana Corson wrote:
We support both Word and Word Perfect thru our application
I can make Word accept the DDE data from OI but need the following as I can not make any windows version of Word Perfect that supports DDE work as I need it to.
In Word we have a form letter with book marks that fill with the application data. The user can then print save adjust whatever.
I would like the same in Word Perfect so I would like to get a copy of a Word Perfect Document with the tags in it. - and a snip of teh code in OI that was used.
Corel is vauge in their replies and support.
Dana
At 29 NOV 2000 09:47PM Bob Carten wrote:
Dana
There Corel website has a less than helpful article
I did something like this ( from Powerbuilder, not OI ) a few years ago. I used the Mail Merge feature.
I created a main merge document, then a flat text data file. I recorded a macro to perform the merge, print the result and quit.
When it was time to print I overwrote the merge data, then used DDE to fire up Wordperfect, then used a DDE call to play the Macro.
You may want to look at using the same technique with vbscript rather
than DDE. You can do a CreateObject("WordPerfect.PerfectScript"), then drive wordperfect using its object model.
Hope this helps
Bob