The QAxWidget with setControl to a file generates warnings and says that an object doesn't support automation and fails to activate it.try passing the document you want to view as the control (like "C:\\somedoc.xls") .
Any ideas why it happens?
The QAxWidget with setControl to a file generates warnings and says that an object doesn't support automation and fails to activate it.try passing the document you want to view as the control (like "C:\\somedoc.xls") .
Any ideas why it happens?
Indeed weird, try passing "Excel.Application" then. And check out the "webbrowser" example - it uses the approach directly to embed a web browser and call its functions. You can use it as a test bed (even from within Designer), you just might need to remove the dynamicCall() line.
Sorry I can't test it by myself but I don't have Excel and I'm currently working on Linux and don't want to stop to reboot the machine![]()
I first tried
which only gave medumpcpp Excel.Application -o excel
Then I found this thread: http://lists.trolltech.com/qt-intere.../msg00704.html, so I tried:dumpcpp: type library '' not found
which worked, but the resulting excel.h is 166k lines so I don't feel like diving into it as I'm not that familiar with the subject.dumpcpp {00020813-0000-0000-C000-000000000046} -o excel![]()
J-P Nurmi
Yeah, already tried... but it generates automation object interface only.
Just as QAxObject...
Bookmarks