Help needed w/ OLE2 in Forms 4.5
From: Joe & Sally Ernst <joee_at_gasullivan.com>
Date: 1996/01/25
Message-ID: <4e6ule$t6s_at_news-1.starnet.net>#1/1
OLE2_INVOKE(Word, 'FilePrint', args);
Date: 1996/01/25
Message-ID: <4e6ule$t6s_at_news-1.starnet.net>#1/1
How do you use the OLE2_INVOKE function and send the server app more than one argument?
I have used Invoke with one args sorta like:
ADD_ARG (args, 'c:\file');
OLE2_INVOKE(Word, 'FileOpen', args);
and it works fine.
This does not:
ADD_ARG (args, '.numcopies'); ADD_ARG (args, ' = '); ADD_ARG (args, 5);
OLE2_INVOKE(Word, 'FilePrint', args);
Neither does this:
ADD_ARG (args, '.numcopies = 5');
OLE2_INVOKE(Word, 'FilePrint', args);
What am I doing wrong? Nowhere in the docs is there an example of this.
Thanks for any help!
Please reply to ernstjg_at_maritz.com
Joe Received on Thu Jan 25 1996 - 00:00:00 CET