Solved

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

Posted on 1997-07-22
3
189 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 92
Turn a spreadsheet into a vba executable. 2 85
java ^ examples 8 65
zeroFront challenge 7 95
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now