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
- Download zip file (64.2 KB)
- Unzip the file.
- Run as Administrator Install.bat.
The script will copy dsofile_x64.dll to %WINDIR%\SysWOW64 and will register it.
- 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
Set oOleDocProp = CreateObject("DSOFile.OleDocumentProperties")
fnFileTitle = oOleDocProp.SummaryProperties.Title
If Not oOleDocProp Is Nothing Then Set oOleDocProp = Nothing
MsgBox Err.Number & " - " & Err.Description
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.