Results 1 to 9 of 9

Thread: FileVersionInfo

  1. #1

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    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.
    This world is not my home. I'm just passing through.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Search this forum for thread by Edneeis . It sounds tough one but it may give you a clue .

  3. #3

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    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.
    This world is not my home. I'm just passing through.

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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.

  5. #5
    Addicted Member PeteD's Avatar
    Join Date
    Jun 2003
    Location
    Sydney
    Posts
    158
    Have a look in your project's AssemblyInfo.vb file

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I don't think that is the Summary Info he means:

  7. #7
    Addicted Member PeteD's Avatar
    Join Date
    Jun 2003
    Location
    Sydney
    Posts
    158
    I have seen these fields in a deployment project. Perhaps that is what fills the fields in for the deployed files?????

    Attached Images Attached Images  

  8. #8
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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?

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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 .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width