|
-
Jan 29th, 2005, 04:00 PM
#1
Thread Starter
Frenzied Member
-
Jan 29th, 2005, 05:23 PM
#2
Re: File Info Properties
Probably not through managed code no.
I just set typed my name in the author field (in the above dialog you posted) and then opened the file and the string is actually embedded in the file itself rather than in the file system overhead. This means that different file formats might have different ways of storing this data.
I can only assume and hope that there is an API for this kind of thing.
I don't live here any more.
-
Jan 29th, 2005, 06:14 PM
#3
Thread Starter
Frenzied Member
Re: File Info Properties
 Originally Posted by wossname
I just set typed my name in the author field (in the above dialog you posted) and then opened the file and the string is actually embedded in the file itself rather than in the file system overhead.
That happens with MS Office documents, but not with other file types - if you try it with a text file, nothing gets embedded in the actual file contents.
This must be managed through Structured Storage and is indeed available via APIs. I was just wondering if there's a .Net equivalent to this.
Cheers,
NTG
-
Jan 29th, 2005, 06:23 PM
#4
Re: File Info Properties
you can use the IPropertyStorage interface for this , see msdn ... here
you can also use the Shell class along with the shell.Folder.GetDetailsOf ( FolderItem , Index )
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Jan 30th, 2005, 07:23 AM
#5
Thread Starter
Frenzied Member
Re: File Info Properties
Thanks sysop, structured storage it is then.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|