Get Summary Attributes of a file such as title, comments, etc

How do I get summary attributes of a file such as comments, title, etc
LVL 1
picsnetAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
What kind of file?  VB.NET or C#?  2005 or 2003?

Bob
0
picsnetAuthor Commented:
any kind of file... i think the only way is the dsofile dll which is ok, but would prefer for it to be in the framework
0
Bob LearnedCommented:
dsofile.dll is only for OLE structured storage files, and won't work on other files.  If you are talking about Word documents, then it would work.

Bob
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

picsnetAuthor Commented:
well is there any other way in 2005.  it seems to be working on several different file types for me.  

Tony
0
Bob LearnedCommented:
1) The .NET framework doesn't have the capability

2) That is interesting that it works on different file types...what kind of file types are you talking about?

Bob
0
picsnetAuthor Commented:
i'll know more about it in a minute as soon as i have the thing deployed.  my asp.net server isn't liking the com.  i installed the dsofile on the server... I included it in my bin.  i found the classid in the registry and gave everyone permission to it.  i'm not sure what else to do.  i came after com and allt hat since i'm pretty young.  i'm pretty ignorant on what i'm supposed to do with it.  

Tony
0
Bob LearnedCommented:
Tony,

All COM objects need to be registered on the target machine using regsvr32.exe.  If you installed dsofile on the server that should have taken care of it.  You should probably know, though, that COM and ASP.NET don't play well together, since COM is single-threaded, and ASP.NET is multi-threaded.

Bob
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
picsnetAuthor Commented:
Yeah, I believe its registered.  After I installed, I got a new error message...  I got a permissions thing somewhere, I just don't know what file or whatever to add the right permissions to.  

Base Exception: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80070005.
0
Bob LearnedCommented:
When do you get the unauthorized access?  Are you using Windows authentication?  Are you allowing anonymous access?

Bob
0
picsnetAuthor Commented:
I figured it out.  If I went to that dll wherever it installed the dsole example, and gave permissions to that dll, then it worked.  

yeah it works on several different file types.  I'm reading from the comments on the files.  Here is an example...  http://www.picsnet.com/Support.aspx

Thanks A Whole Bunch!!!, Tony
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.