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

Posted on 2006-04-04
Last Modified: 2012-08-14
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

Question by:P1
    LVL 76

    Accepted Solution

    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:
    LVL 4

    Author Comment

    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
    LVL 76

    Expert Comment

    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.
    LVL 4

    Author Comment

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
    Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
    This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now