Solved

Openning an excel database with ADO

Posted on 2002-06-28
4
200 Views
Last Modified: 2013-11-20
I am openning an excel database with ADO.

I have two problems. An answer for either will receive the points.

1. How do I get the list of sheets that are available in the excel file?

2. How do I make it so that when I query the sheet, the first row is not turned into column headings? I do not want to do any registry editing (I don't know if this is feasable).
0
Comment
Question by:skibud2
4 Comments
 

Author Comment

by:skibud2
ID: 7123577
For those who are looking for the answers to these questions, here they are:

1. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q257819. This is for VB and can be translated to VC++. Look at the online msdn example for Openschema in visual c++.

2. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q288343
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8442045
Hi skibud2,
<Edited by SpideyMod>
An erroneous auto-delete was posted, we have corrected the problem.  Please indicate recommendations and these will not be scheduled for auto-delete, but will be finalized within the standard week notice.

A recommendation of "PAQ with refund" has already been proposed.

CleanupGuy -- EE database cleanup volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10905354
PAQed, with points refunded (300)

Computer101
E-E Admin
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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

17 Experts available now in Live!

Get 1:1 Help Now