Create word 2010 documents from oracle forms 9i
Hi,
We are currently creating word documents with .doc extension. These work fine when we have office 2003 installed. Now we are uogarding to Office 2010, and the documents are still getting creating with .doc extension which cause them to get corrupted.
Is there any method which we can use to create these document without compaitbility mode if office 2010 is installed on the machine.
Forms version 9i.
Database version 11.2.0.3.0
Below is the current code for document creation
lv_mswordapp := CLIENT_OLE2.Create_Obj('Word.Application');
lv_doc_obj := CLIENT_OLE2.Get_Obj_Property(lv_mswordapp, 'Documents');
CLIENT_OLE2.Set_Property(lv_mswordapp, 'Visible', 'False');