Jump to content

Using ActiveX Object in QT: Difference between revisions

From Qt Wiki
No edit summary
 
Redirected page to Using ActiveX Object in Qt
 
(One intermediate revision by one other user not shown)
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.
#REDIRECT [[Using_ActiveX_Object_in_Qt]]
 
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]]

Latest revision as of 07:06, 27 February 2015