Need to find DSOleFile.dll

Posted on 2009-04-30
Last Modified: 2013-11-17
I am trying to find DSOleFile.dll.

Yes, I know of DSOFile.dll. That is not what I am looking for.

An interesting note:  The most common reference to DSOleFile.dll  in a Google search are examples of people trying to find DSOleFile.dll, being told of DSOFile.dll, and explaining that they know of DSOFile.dll, they can find it, but they simply cannot find DSOleFile.dll.

So, here I am trying to find DSOleFile.dll.   Please help.

Stafford Martin

Question by:StaffordMartin
    LVL 23

    Expert Comment

    by:Jens Fiederer
    According to this:

    there is simply no such thing:

    "DSOleFile is the project name of the component, not the file name. The file name is dsofile.dll. If
    you look in the Add Reference dialog (COM) tab, it's listed as DS: OLE Document Properties 1.2
    Object Library (assuming you have registered the component)."

    Author Comment

    Thanks for the clarification.

    However, I am getting the same error which has been commonly reported on the internet.  Even when I have have DSOFile properly referenced and USEd,  it is not seeing the classes:
    •    PropertyReader
    •   DocumentProperties
    I am able to see the members of DSOFile, they are:
    • OleDocumentProperties
    • OleDocumentPropertiesClass
    • CustomProperties
    • CustomProperty
    • dsoFileOptions
    • dsoPropertyType
    • SummaryProperties
    PropertyReader and DocumentProperties are not included. OleDocumentProperties is not the same as DocumentProperties.
    LVL 23

    Accepted Solution

    There is more than one version of DSOFile.  The older one had PropertyReader, the one NOW available has OleDocumentProperties.

    According to :

    For example, heres a script that retrieves the name of a documents author using the older version of Dsofile:

    Set objPropertyReader = CreateObject("DSOleFile.PropertyReader")
    Set objDocument = objPropertyReader.GetDocumentProperties _
    Wscript.Echo "Author: " & objDocument.Author

    Set objFile = CreateObject("DSOFile.OleDocumentProperties")
    Wscript.Echo "Author: " & objFile.SummaryProperties.Author

    And heres the same script rewritten to work with the new version of Dsofile:

    Set objFile = CreateObject("DSOFile.OleDocumentProperties")
    Wscript.Echo "Author: " & objFile.SummaryProperties.Author

    As you can see, both scripts return the document author, but thats about the only similarity. Even the ProgIds  DSOleFile.PropertyReader and DSOFile.OleDocumentProperties  are different. Unfortunately, the minimal documentation released with Dsofile doesnt really make that clear; if you arent careful you might  like at least one of the Scripting Guys  install the new version and spend hours trying to figure out why your old scripts no longer seem to work.


    Author Closing Comment

    Thank you very much. With that clarification, I have solved my problem.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now