>Using something similar I can run the merge but I get nothing displayed in WordPerfect. I'm probably missing something simple, but I can't see it.
>
>Here's the code I'm using.
> oWP=createobject("WordPerfect.PerfectScript")
> oWP.MergeRun(2, "i:\wp8\notice.frm", 0, "",1, "")
>
>The merge form has a pair of GetString() commands and I do receive the dialog boxes asking for input. But nothing else appears in WordPerfect.
>
>Please help.
Steve,
Sorry for the delay but I've been away. Try the following in the command window
loWP=createobject("WordPerfect.PerfectScript")
=loWP.WPActivate()
=loWP.FileNew()
=loWP.Type("Hello World")
=loWP.Quit()
Note the "=" at the beginning of each line and the
=loWP.Quit()
at the end.
HTH
Caroline