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;
|
|
|