Simon was telling us:
Simon nous racontait que :
I need the Word version which created the file in order to flag files
for conversion to current version. DSOleFile works fine for more
recent versions but fails on old omes files eg Word 5.1 for
Macintosh. The version used for creation shows as Type in the General
tab of the Word properties window, so it ought to be accessible
through the object model.
As Jonathan and Tony pointed out, that info is in fact the last save
version, not the original Word application used to first create the
document.
Also, on my computer, if I right-click a Word doc to access the properties,
this info is under the Summary tab, not the General one.
I have just tested it with some old documents:
Word 95 - Info not available (DOCILE will not work with these documents
because the information does not exists in the properties. In such a case,
you know this is an old document that needs updating.)
Word 97 - Microsoft Word 8.0
Word 2000 - Microsoft Word 9.0
Word XP - Microsoft Word 10.0
Word 2003 - Microsoft Office Word (Active version on my system)
If I open any of those older documents and save them with Word 2003, the
property automatically changes as if the document was a Word 2003 document
(Which it is now).
For your purpose, I think that is the information in what you want. It does
not matter what Word version was used to create the doc, what counts is the
last version used to save the doc, thus, using DSOFILE you will know which
doc needs updating without having to open any of them..
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site:
http://www.word.mvps.org