Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Using ActiveX Object in QT: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
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