Word Document not printing in 11g
Hi,
Word document is not printing in 11g, but works in 10g. Using Forms 11gR2. Jacob 1.14.3.
Below is the code that works in 10g but not in 11g.
Any help would be greatly appreciated.
Thanks
Madhu
-------------------------------------------------------------------------------------------------------------------------------
PROCEDURE print_word_doc(l_file varchar2) IS
app OLE2.OBJ_TYPE;
docs OLE2.OBJ_TYPE;
doc OLE2.OBJ_TYPE;
selection OLE2.OBJ_TYPE;
args OLE2.LIST_TYPE;
BEGIN
app := client_ole2.create_obj('word.application');
client_ole2.set_property(app, 'visible', 0);
docs := client_ole2.get_obj_property(app, 'documents');
args := client_ole2.create_arglist;
client_ole2.add_arg(args, l_file);--'c:\temp\424545READ.docx'