Even with these problems, it's still useful if you want to use it only for reading OLE document properties or file metadata. If anyone finds fixes to the two problems above, please let me know so I can update this code. This code also includes my fix for the "access denied" error when accessing empty summary properties.
One warning for those of you thinking of using file metadata for code you put on customer sites: you *cannot* just zip up the files because zip doesn't know that there is weird NTFS metadata associated with the file. You have to use a Windows share to copy the files w/ metadata.
1. Bill Brunt08/25/2010 03:31:40 PM
Hi folks,
Running Windows 7, 64 bit.
I've been trying to use Ken's DSOfile.dll without success. I unzipped and took the files DSOFile.dll and Interop.DSOFile.dll from the 64-bit directory and copied these into c:\windows\system32. From there I ran as Administrator
regsvr32 DSOFile.dll
RegAsm Interop.DSOFile.dll
If I have the file open, calls to DSOFile work and produce the correct results. If I call DSOFile for files which are closed, I'm getting "The document is not an OLE file, and does not support extended document properties. I am able to view these extended document properties.
Any ideas?
2. Tim01/22/2010 10:42:15 AM
Hi all,
For a while, i'm looking for the 64-bit version of dsofile.dll or a way to make it works on a 64 bits platform. Do you know where is the solution?
cheers, Tim
3. Jeff12/29/2009 02:09:10 PM
Anyone tried this on Windows 7? Having a hard time to get these to register without errors. works great on XP.
4. ken10/27/2009 08:16:04 PM
Homepage: http://www.keysolutions.com/blogs/kenyee.nsf
Only thing I can think of is make sure you register the DLL by hand...you might be missing some runtime DLLs.
5. james10/23/2009 04:59:08 PM
My app uses the dsofile.dll to modify doc properties works on my 32-bit machine for both 2003 and 2007, but works for 2003 only on my 64-bit machine.
I have registered the 64-bit version of dsofile.dll, copied over the iterop dll, and had the server people install the office compatibility pack.
The office compat pack, was supposed to resolve the 2007 functioning, but it has not.
Any ideas?
6. Pete06/24/2009 04:47:35 AM
Homepage: http://www.lonerobot.net
Hi Ken,
I've been asked if there is a x64 version of the v2.1.2841 release of DSOfile.
{ Link }
Do you think you could compile this for x64 like you did the last one? cheers, pete
7. Dan10/01/2008 02:54:31 PM
Thanks, this helped me a lot! I had an app with a reference to DSOfile.dll (x86) in a web service that worked fine until I upgraded my web server from Server 2003 x86 to Server 2008 x64. Registering your file on the server and using the included interop assembly has fixed everything. Thanks again!
8. Pete02/12/2008 05:01:16 PM
Hi Ken, thanks so much for fixing the link. I really appreciate it. kindest regards, Peter
9. Ken02/12/2008 01:32:36 PM
Homepage: http://www.keysolutions.com/blogs/kenyee.nsf
Pete: yes, since the DLL is written in C++, it has to be rebuilt for Windows 64-bit. I fixed the link in case you want to download it.
10. Pete02/12/2008 05:46:49 AM
Hi Ken,
Ive been having some problems with DSOfile on a 64 bit platform. do you need to recompile the dll? the link you give is down, thanks, peter