Solved

File Properties Summary - Set Or Read Without WMI

Posted on 2008-10-30
5
197 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
[X]
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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 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