problem to read excel file
Dear Friends,
I am currently working on Qt and using this i want to read excel file. But i am not able to do that.
I read so many post in this forum which explain same thing. But i tried all code given in forum but i m still facing problem to open excel file.
Please give me some full working example code to read excel file.
I am constantly getting below message when i m trying to run program. It not shows error but display below msg and program closes it self.
CoCreateInstance failure (Class not registered)
QAxBase::setControl: requested control {00024500-0000-0000-C000-000000000046} could not be instantiated
QAxBase::dynamicCallHelper: Object is not initialized, or initialization failed
QAxBase::dynamicCallHelper: Object is not initialized, or initialization failed
Please reply me as soon as possible. Thanks in advance.
Regards,
Keyur Parekh
Re: problem to read excel file
I think possible MS Office not correctly installed in your OS.
Re: problem to read excel file
But I am using open office. So is it possible to open open office file from QT? And if i m using linux than what could be the solution for that.
Please reply me.
Re: problem to read excel file
I did not work with Oo from ActiveX. In Linux to use API ОО or directly read files ОО.
Maybe someone add some info else.
Re: problem to read excel file
Hi thanks for your reply..
But how to use API of Open office. Can i directly use OO API to read excel file from QT?
Please guide me