Oracle Forms (MOSC)

MOSC Banner

Create word 2010 documents from oracle forms 9i

edited Jul 29, 2014 10:07AM in Oracle Forms (MOSC) 1 comment

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center