Hello,
I'm trying to control the ComFailException WUO-705 'Kan methode Open niet oproepen ...' in Forms. The exception is raised when a MS Word document could not been found; that is correct. But I don't want any Output on my screen, because it is a batchproces of printing MS Word documents. I want to collect the messages and tell it afterwards.
The code:
v_mijndocument client_ole2.obj_type;
...
-- The following code raises the WUO-705 and that's correct
v_mijndocument := client_ole2.INVOKE_obj(docs, 'Open', args);
...
-- The exception handler catches the exception like this:
when others then
excep := client_ole2.LAST_EXCEPTION; -- gives -2146823114
end;
For every document that won't be found, i got the pop-up with WUO-705, because of the INVOKE_obj. Is it possible to 'ignore' the exception/error so no pop-ups will be shown and store the exception for giving it afterwards?
Thanks for your help.
Gr.
Patrick Koopman