[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 792
  • Last Modified:

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
0
picsnet
Asked:
picsnet
  • 5
  • 5
1 Solution
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now