Results 1 to 5 of 5

Thread: problem to read excel file

  1. #1
    Join Date
    Feb 2011
    Posts
    29
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default 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

  2. #2
    Join Date
    Mar 2011
    Location
    Russia, Lipetsk
    Posts
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem to read excel file

    I think possible MS Office not correctly installed in your OS.

  3. #3
    Join Date
    Feb 2011
    Posts
    29
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default 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.

  4. #4
    Join Date
    Mar 2011
    Location
    Russia, Lipetsk
    Posts
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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.

  5. #5
    Join Date
    Feb 2011
    Posts
    29
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default 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

Similar Threads

  1. How can I Read Write Excel File
    By xingshaoyong in forum Qt Programming
    Replies: 6
    Last Post: 13th July 2011, 20:16
  2. how to use api to read excel files(.xl,xls)
    By xiongxiongchuan in forum Qt Programming
    Replies: 9
    Last Post: 15th June 2010, 00:38
  3. How to read Excel file with Qt
    By HelloDan in forum Qt Programming
    Replies: 3
    Last Post: 13th May 2009, 20:27
  4. Read excel
    By psipsi in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 17:07
  5. Read \Write Excel File using Qt
    By xingshaoyong in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 22:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.