I am trying to find a way to get and change file summary information. I tried using FileInfo class, but it doesn't give me information such as "Author,Title,Rating" etc. Is there a way to get and change these information using .NET libraries?
> I am trying to find a way to get and change file summary information. I > tried using FileInfo class, but it doesn't give me information such as > "Author,Title,Rating" etc. Is there a way to get and change these > information > using .NET libraries?
I tried the URL u provided about DsoFile from microsoft, the only thing is... I am getting Access Denied error when i tries to change a property of .mp3 file, however, it works on microsoft documents such as excel, visio document etc. Do you think the DsoFile library is for microsoft documents only?
> > I am trying to find a way to get and change file summary information. I > > tried using FileInfo class, but it doesn't give me information such as > > "Author,Title,Rating" etc. Is there a way to get and change these > > information > > using .NET libraries?
The DsoFile Library was written specifically for Office Documents. You must use the IPropertyStorage API to edit these properties. The code to use the API is supplied. You can easily extend the code for non Office files.
"Hiten" <Hi...@discussions.microsoft.com> wrote in message
>I tried the URL u provided about DsoFile from microsoft, the only thing >is... > I am getting Access Denied error when i tries to change a property of .mp3 > file, however, it works on microsoft documents such as excel, visio > document > etc. Do you think the DsoFile library is for microsoft documents only?
> Any other suggestion??
> thanks, > Hiten
> "Michael Phillips, Jr." wrote:
>> Not without writing your own IPropertyStorage com interop assembly.
>> > I am trying to find a way to get and change file summary information. I >> > tried using FileInfo class, but it doesn't give me information such as >> > "Author,Title,Rating" etc. Is there a way to get and change these >> > information >> > using .NET libraries?