[python-win32] Re: filling Windows properties "Summary" tab?
rwupole at msn.com
Tue Jun 28 20:23:16 CEST 2005
R. Alan Monroe wrote:
>>> They are per-file settings, but, if I filled them in for a .py file,
>>> they would persist only on this machine, but not if the file is
>>> copied to another Windows box, and are unavailable on the Samba
>>Try it with an .mp3 file. I bet it will survive being copied to
>>another machine. They're saved in the id3 tags.
> Nope, I copied an mp3 to another PC in the workgroup, and it does not
> I have found a dll for this though:
> The Dsofile.dll sample file is an in-process ActiveX component for
> programmers that use Microsoft Visual Basic .NET or the Microsoft .NET
> Framework. You can use this in your custom applications to read and to
> edit the OLE document properties that are associated with Microsoft Office
> files, such as the following:
> "Microsoft Excel workbooks
> "Microsoft PowerPoint presentations
> "Microsoft Word documents
> "Microsoft Project projects
> "Microsoft Visio drawings
> "Other files without those Office products installed
> that has some info.
There are actually 2 different implentations of document properties.
The COM implementation embems them directly in the file itself, but
this only works for documents created by COM applications. (Office, etc).
On NTFS 5 (Win2k or later), you can add Summary info to any file,
and it's stored in alternate data streams. However, if you copy the
file to a filesystem that doesn't support alternate data streams, the
More information about the Python-win32