-
FileVersionInfo
If you right-click a MSWord .doc file in Windows Explorer and go to Properties\Summary you get to see all kinds of information (Author's Name, Company, Title, etc.).
When I do the same on one of the files that my application saves I see the same fields.
How do I get my application to put data into these?
I've looked at FileVersionInfo, but this only provides read methods, not writes.
-
Search this forum for thread by Edneeis . It sounds tough one but it may give you a clue .
-
Thanks Pirate, I've done that.
It looks like the answer is that I must use DSOleFile.dll and run my application on Win2000 using NTFS. Otherwise I don't think I can write properties to non-OLE documents.
Shame.
-
Well you definately have to target an NTFS system for any files other than Doc or Word files, because that info is only kept on NTFS systems (in a seperate stream) for other files.
-
Have a look in your project's AssemblyInfo.vb file :D
-
-
1 Attachment(s)
I have seen these fields in a deployment project. Perhaps that is what fills the fields in for the deployed files?????
http://www.vbforums.com/attachment.p...postid=1490937
-
But how can you edit them afterwards. Through the OS you can just right click the file and edit them whenever but how can you do that through code?
-
Anyone of you guys know if this involves any secuirty issues . They make everything hard to work with . I'm much concerned since I'll get into this after I finish my current proj :(.