Click here to Skip to main content
15,741,047 members
Articles / Operating Systems / Windows
Posted 16 Aug 2016

Tagged as


6 bookmarked

64 Bit Application Cannot Use DSOfile

Rate me:
Please Sign up or sign in to vote.
4.75/5 (6 votes)
16 Aug 2016CPOL
DSOfile in 64 bit version


64 bit application cannot use DSOfile. So I have compiled DSOfile to x64 version and it can be used now in 64 bit application.


The original DSOfile can be download from here.

Using the Code

  1. Download zip file (64.2 KB)
  2. Unzip the file.
  3. Run as Administrator Install.bat.
    The script will copy dsofile_x64.dll to %WINDIR%\SysWOW64 and will register it.
  4. Add reference to your project: "DSO OLE Document Properties Reader 2.1"

VBA example of using DSOfile:

Private Function fnFileTitle(ByVal strFileName As String) As String
On Error GoTo OnError
   Dim oOleDocProp
   'Set oOleDocProp = New DSOFile.OleDocumentProperties 
   Set oOleDocProp = CreateObject("DSOFile.OleDocumentProperties")

   oOleDocProp.Open (strFileName)
   fnFileTitle  = oOleDocProp.SummaryProperties.Title
   If Not oOleDocProp Is Nothing Then Set oOleDocProp = Nothing

Exit Function
    MsgBox Err.Number & " - " & Err.Description
    Resume Next
End Function


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

QuestionUnable To Register Pin
Joe Sweeney22-Aug-23 7:24
Joe Sweeney22-Aug-23 7:24 
GeneralSystem32 or SysWOW64 Pin
Peter Tn31-Aug-22 21:22
Peter Tn31-Aug-22 21:22 
QuestionProblem with the update of XLSX / XLSM files properties Pin
Member 1494856922-Apr-22 22:31
Member 1494856922-Apr-22 22:31 
AnswerRe: Problem with the update of XLSX / XLSM files properties Pin
PaulStSmith18-Aug-23 23:50
PaulStSmith18-Aug-23 23:50 
QuestionDsoFileSetup_KB224351_x64 Pin
Member 1492594629-Aug-20 4:02
Member 1492594629-Aug-20 4:02 
PraiseDOSFile 64 bit Pin
richard_ca3-Apr-19 22:37
richard_ca3-Apr-19 22:37 
GeneralMy vote of 3 Pin
Member 1236439018-Aug-16 21:18
Member 1236439018-Aug-16 21:18 
GeneralRe: My vote of 3 Pin
robert8w819-Aug-16 0:33
robert8w819-Aug-16 0:33 
QuestionSource code? Pin
Brian Lewis18-Aug-16 12:25
Brian Lewis18-Aug-16 12:25 
AnswerRe: Source code? Pin
robert8w819-Aug-16 0:26
robert8w819-Aug-16 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.