Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Trying to find out if Word is printing

Re: Trying to find out if Word is printing

From: Not_Me <Not_Me_at_Not_Here.com>
Date: Sat, 23 Feb 2002 13:29:12 +0100
Message-ID: <2h2f7u0mle3dfm6pctt92g9v1ftkk44klj@4ax.com>


On 22 Feb 2002 03:43:11 -0800, omiit_at_hotmail.com (Viktor) wrote:

>Not_Me <Not_Me_at_Not_Here.com> wrote in message news:<0kba7usc69pv6it74k7491eu0kfsa8o7h7_at_4ax.com>...
>> Does anyone know how to find out if Word is printing (in a PLL)?
>> I've tried :
>>
>> _Num := OLE2.Get_Num_Property( G_wp_basic, 'BackgroundPrintingStatus'
>>
>> but that results in an exception...
>
>Hi , Not_Me
> for Word97 and Forms6i(PLSQL)
>Variable:=OLE2.GET_OBJ_PROPERTV(MyApplication, 'BackgroundPrintingStatus');

Thanks. I had fugured it out as well:
The trick is to use the Word application object, rather than the WordBasic object.
Are you sure about 'Get_OBJECT_property'? BackgroundPrintingStatus returns a NUMERIC value...

> -----
>_Num or _Var is not right --->> "_"
>Replace "_" "a" or "z"

Yup. That was just some bad cutting and pasting. Received on Sat Feb 23 2002 - 06:29:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US