473,408 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

How to access EXCEL file contents and properties


I am developing an application that requires me to read MS EXCEL file
and get its properties and contents. I could read only the contents i
a dataset by creating an object, but i could not figure out a way as t
how to get the properties such as Title, Name, Last Author, Date o
creation etc.
Can anyone tell me as to how should i achieve this, any API tha
provides me such functionality??
Thanks in advance
-
vbvjai
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

Nov 18 '05 #1
1 1087
You need to access OLE Structured Storage

Dsofile.exe Lets You Edit Office Document Properties from Visual Basic and
ASP

http://support.microsoft.com/?scid=kb;en-us;Q224351

This sample project creates a DLL that you can use to get document
properties (including thumbnails) of Office files, .URL files and files
stored in NTFS5 partitions.

http://www.mvps.org/emorcillo/vb6/co...operties.shtml

Structured Storage - The DocFile

http://www.codeproject.com/file/stru...asp?print=true

"vbvjain" <vb************@mail.codecomments.com> wrote in message
news:vb************@mail.codecomments.com...

I am developing an application that requires me to read MS EXCEL files
and get its properties and contents. I could read only the contents in
a dataset by creating an object, but i could not figure out a way as to
how to get the properties such as Title, Name, Last Author, Date of
creation etc.
Can anyone tell me as to how should i achieve this, any API that
provides me such functionality??
Thanks in advance.

--
vbvjain
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ronny Sigo | last post by:
Hello all, I am trying to import the contents of an Excel sheet into my Access Database. When clicking the button excel opens allright and does what I programmed (the cells get updated with the...
4
by: Jae | last post by:
I'm writing a web application that exports and imports excel files. The application gets a list of users and their info and displays it in a datagrid .The user then selects to save the file as a...
2
by: a.crowley | last post by:
I have a large set of Word documents that I wish to catalogue in an Access database. Each document has a set of file properties populated (title, subject, author, keywords, comments ect), so I'd...
3
by: Kuldeep | last post by:
Hi All, Can anyone give me some leads towards uploading the excel file contents into SQL Database Regards Kuldeep
3
by: SAL | last post by:
Hi, I have Microsoft Enterprise Library 2005 installed on my local system. I'm developing in C# using Visual Studio 2003 IDE with framework 1.1. I am automating a process that will use a DLL...
1
by: smaczylo | last post by:
Hello, I've recently been asked to work with Microsoft Access, and while I feel quite comfortable with Excel, I'm at a complete loss with databases. If someone could help me with this issue I'm...
2
by: mazelx | last post by:
Hi, I'm a bit confused with all the types of connections (odbc, oledb, adox, etc...) I'm making an application which imports the data from an excel file to a table into MS Access. I decided...
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.