Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Control Exception WUO-705 ComFailException

pskoopmanJan 11 2011 — edited Jan 11 2011
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
This post has been answered by François Degrelle on Jan 11 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2011
Added on Jan 11 2011
2 comments
1,339 views