Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Trying to find out if Word is printing
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