Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to access Excel data from a vc++ app.?

Posted on 1997-07-22
3
195 Views
Last Modified: 2013-11-20
Hi experts,
I want to access data from an Excel spreadsheet to reside in my Visual C++ application. Does one have to take use of the database machinery or are there other possibilities, such as reading the data directly from an Excel file. If this  isn't possibility how do I "make" a "Excel database"?

OBS! My e-mail adr. is:t94jfr@tdb.student.uu.se
0
Comment
Question by:Jac
3 Comments
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1302728
There are several ways you can retrieve data from an Excel spreadsheet. You should take a look at the book Microsoft Excel Developer's Kit.
0
 
LVL 8

Accepted Solution

by:
gelbert earned 90 total points
ID: 1302729
You should impliment your application as OLE enabled to use COM mechanism to transfer data from one application to another. You should request IDataObject interface of Excel and using this interface you can recieve data by specifing a format, a medium, and, optionally, a target device for which the data should be rendered.
0
 

Author Comment

by:Jac
ID: 1302730
Thanks for yoyr answer.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to retreive data from .TFS file exported by DVR 8 217
Perl Awk Need Help 3 128
ORA-01403: no data found 43 105
x-bar in Google Sheets 2 69
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question