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

LVL 4
P1Network Technician & ProgrammerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GrahamSkanRetiredCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
P1Network Technician  & ProgrammerAuthor 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
GrahamSkanRetiredCommented:
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.
P1Network Technician  & ProgrammerAuthor 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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.