#12 JCom compatibility

open
nobody
None
5
2007-06-25
2007-06-25
Anonymous
No

Hi,
When I try to run my program which uses jcom using Excel 2003 it works fine but the same doesnt work with Excel 2000. It throws the following error.

jp.ne.so_net.ga2.no_ji.jcom.JComException: IDispatch::Invoke(0x2AA,1) failed HRE
SULT=0x80020009L
at jp.ne.so_net.ga2.no_ji.jcom.IDispatch._invoke(Native Method)
at jp.ne.so_net.ga2.no_ji.jcom.IDispatch.method(IDispatch.java:223)
at jp.ne.so_net.ga2.no_ji.jcom.excel8.ExcelWorkbooks.Open(ExcelWorkbooks
.java:102)
at xlsxml.CTDefaultExcel.initialize(CTDefaultExcel.java:37)
at xlsxml.CTDefaultExcel.getWorkBook(CTDefaultExcel.java:43)
at xlsxml.CTDefaultGenerator.createXmlContent(CTDefaultGenerator.java:95
)
at xlsxml.CTDefaultGenerator.generateXmls(CTDefaultGenerator.java:51)
at xlsxml.CTDefaultGenerator.main(CTDefaultGenerator.java:540)

Can you tell me what am I doing wrong or is this a compatibility issue.

My email id - sujit.gmenon@patni.com

Discussion