Using ActiveX Object in QT: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
While working on an assignment I was told to read the Excel and read an Image (<span class="caps">OLE</span>) object in excel.<br /> I started searching in the web and got some snippets to read the excel sheet. But no tutorials/wiki were available on this subject. So thought I will add this page here.


Here is the snippet which will be used to read the Excel sheet. Found it in one of the QT thread.
But my main problem was finding out the <span class="caps">API</span> of sheet <span class="caps">QAX</span> object to get the relative information like row count ,column count etc.
There is a <span class="caps">API</span> in <span class="caps">QAXBAS</span>e class which generates the <span class="caps">API</span> documentation for the corresponding QAxObject . Which can be redirected to a file by using the sample code as below.
Depending on the QAxObject type the generated <span class="caps">API</span> doc will be different and can be used for finding out the statndard <span class="caps">API</span>s.
===Categories:===
* [[:Category:HowTo|HowTo]]
* [[:Category:Learning|Learning]]

Revision as of 14:38, 23 February 2015