Solved

File Properties Summary - Set Or Read Without WMI

Posted on 2008-10-30
5
193 Views
Last Modified: 2010-05-18
Hello All,

I need to when creating or listing a file I need to be able to read or write the file summary properties (when you right click on file and select "Properties" and "Summary".) so I can read this information into a datatable. I can't use WMI because boss won't allow the reference to be added to project.

Thank you for your help.
0
Comment
Question by:scorpion53061
  • 2
5 Comments
 
LVL 41

Expert Comment

by:graye
ID: 22849361
That not quite as easy as it first seems... it will require a COM-based reference to dsofile.dll that you can download here:  http://www.microsoft.com/downloads/details.aspx?FamilyId=9BA6FAC6-520B-4A0A-878A-53EC8300C4C2&displaylang=en
However, if "they" won't let you use WMI (which is already installed), then what's the chance they'd let you install a DLL?
0
 

Author Comment

by:scorpion53061
ID: 22854782
They will not. The references on thsi project I am on are already scrwed up beyond belief. I thought about the dsofile.dll a while back and tried to get permission and they would not.
0
 
LVL 41

Accepted Solution

by:
graye earned 500 total points
ID: 22855494
Then you're pretty much screwed...     So, that means your only hope (other than finding work somewhere else) is to essentially re-write the DSOFILE.DLL functionality "by hand"
I'd recommend you start with the Office SDKs (multiple versions, I'm afraid) and try to figure out where and how the Summary data is stored in each document type.   You might have some luck with the source code to OpenOffice as they might have already figured it out.
 
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

920 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

16 Experts available now in Live!

Get 1:1 Help Now