Solved

File Properties Summary - Set Or Read Without WMI

Posted on 2008-10-30
5
192 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

20 Experts available now in Live!

Get 1:1 Help Now