[Qt-interest] too slowly that use the QAxContainter module to display an Excel sheet
Andre Somers
andre at familiesomers.nl
Tue May 31 18:03:41 CEST 2011
Op Di, 31 mei, 2011 5:39 pm, schreef 276289228:
> Hi,
> i want to use the QAxContainer Module to display an excel sheet ,but
> the application is too slowly,
> it is appear about 10 seconds late,maybe there is an other way to make it
> ?
> The code just like :
> QAxWidget excel("Excel.Application");
> excel.setProperty("Visible", true);
> QAxObject * workbooks = excel.querySubObject("WorkBooks");
> workbooks->dynamicCall("Add");
> //workbooks->dynamicCall("New(const QString&)",
> QString("F:/QtProject/odbcTest/book.xls"));
>
Make Excel start faster :-)
QAxWidget in the background starts all of Excel in this case. That simply
takes time.
André
More information about the Qt-interest-old
mailing list