Home » Developer & Programmer » Forms » 305500 non-oracle-exception in oracle form
305500 non-oracle-exception in oracle form [message #629850] Tue, 16 December 2014 09:38
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member
i got error while my code is to open word file...

declare
arg_list ole2.list_type;
document ole2.obj_type;
documents ole2.obj_type;
application ole2.obj_type;
BEGIN
clear_record;
clear_message;
application := OLE2.CREATE_OBJ('WORD.APPLICATION');

arg_list := ole2.create_arglist;
documents := ole2.invoke_obj (application, 'documents');
ole2.add_arg (arg_list, 'C:\maha.DOC');
document := ole2.invoke_obj (documents, 'Open', arg_list);
ole2.destroy_arglist (arg_list);
ole2.RELEASE_OBJ (documents);
exception
when others then
message(SQLERRM);
message(SQLERRM);

end;
Previous Topic: installing form builder on windows 7
Next Topic: Java Beans in forms
Goto Forum:
  


Current Time: Fri Apr 19 18:39:00 CDT 2024