• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 379
  • Last Modified:

Determine Word Version of a document file. ( Binary level )

I would prefer a binary level solution for checking version of the document.   I am writing surrogate re-director to the original Word Program version for legacy issues.  Implementing this through file types.  I need a complete version reference in answer.  i.e. Word 6 through Word 2003

Thanks,  P1

0
P1
Asked:
P1
  • 2
  • 2
1 Solution
 
GrahamSkanCommented:
You need to use the Developer Support for Office library:
DSO OLE Document Properties Reader 2.0, file name Dsofile.dll.

You can download it and sample code from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&DisplayLang=en
0
 
P1Author Commented:
Thanks for the link.  It does demostrates what I want to do through a dll.  But I need to go through all the C code to extract the binary level information.  I need direct access to the information.

If push came to shove, I could make this work.  The good point is the dll is royality free and freely distributable.

The question will remain open for a direct binary level answer.

Regards,  P1
0
 
GrahamSkanCommented:
Understood. However, since Microsoft don't publish the Word file format specification, anything else would be a hack or the result of one, and could not be positively relied on.
0
 
P1Author Commented:
Touché !!!  Maybe a step closer to the Ole SSI persistent property values.  I wanted to avoid a COM trip for access as my goal.  Access time/Speed is an issue, which the dsofile.dll does address to a degree.  

I need to permanent solution by the middle of April.  So no takers by then, I will out of necessity go with dsofile.dll.

Regards,  P1
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now