OLE2 command not working for Excel 2010
I have some OLE2 commands through which I open a csv file in excel from Oracle Forms 6i and import the data from this csv file to the oracle database. Until now, the user machines had Word 2003 and everything was working fine. Very recently, we upgraded Word to 2010. Thereafter, I am facing problem in importing the data from this csv file. I reproduce the commands here:
*
DECLARE
workbooks OLE2.OBJ_TYPE;
workbook OLE2.OBJ_TYPE;
worksheet OLE2.OBJ_TYPE;
args OLE2.LIST_TYPE;
application OLE2.OBJ_TYPE;
BEGIN
application:= ole2.create_obj('Excel.Application');
--
workbooks := ole2.get_obj_property(application, 'Workbooks');