dsofile.dll and Word2007

E

Ed

dsofile.dll is a wonderful little tool to allow a vba programmer to see
important information about a Word document. However, it seems not to work
with Word2007. Does anyone know of a replacement tool for reading subject
and author and last revision date, etc?

Ed (in Virginia)
 
J

Jonathan West

Ed said:
dsofile.dll is a wonderful little tool to allow a vba programmer to see
important information about a Word document. However, it seems not to work
with Word2007. Does anyone know of a replacement tool for reading subject
and author and last revision date, etc?

Ed (in Virginia)

This is because the new docx file format is completely different from the
old binary file format.

In fact, the docx format is a set of XML files archived together in a zip
file with the filename extension changed. if you change the extension from
docx to zip, you can open the file with Winzip and have a peek inside. I'm
sure you'll be able to work out which XML file in there contains the
document properties.

There are enough zip/unzip and XML parsing utilities around, so I'm sure it
won't be all that long before somebody cobbles them together and builds a
property reader for docx files.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top