Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default DSOFile.dll error - The document is not an OLE file

Hi -

I'm getting the error "The document is not an OLE file, and does not support
extended document properties" when I query the custom properties in an Excel
2007 using http://support.microsoft.com/default.aspx/kb/224351?p=1. The same
VBA code works fine when I run on 32 bit versions of Windows 2003 and Windows
Vista but I get that error when I run on 64 bit version of Windows 7.

I don't know how many folks are running 64 bit Windows 7 but I do know it
will be more and more and am hoping to fix as I cannot run on my laptop.

- Bill
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default DSOFile.dll error - The document is not an OLE file

If you are using 64 bit Office 2010 that'll be the reason. Unfortunately Com
& ActiveX (which is what that dll is) will not be supported, a major problem
for some. However AFAIK it should work in 64 bit windows with 32 bit Office,
but I can't test.

Regards,
Peter T


"Bill Brunt" wrote in message
...
Hi -

I'm getting the error "The document is not an OLE file, and does not
support
extended document properties" when I query the custom properties in an
Excel
2007 using http://support.microsoft.com/default.aspx/kb/224351?p=1. The
same
VBA code works fine when I run on 32 bit versions of Windows 2003 and
Windows
Vista but I get that error when I run on 64 bit version of Windows 7.

I don't know how many folks are running 64 bit Windows 7 but I do know it
will be more and more and am hoping to fix as I cannot run on my laptop.

- Bill



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DSOFile.dll error - The document is not an OLE file


First Locate where the dsofile.dll is locatted. Then follow the
instructions on the webpage for registering the DSO

Read the instructions on the webpage for the following:
Steps to set up and test the DLL


This is a 32 bit DLL which doesn't always run on window7. Window7 is 64
bit.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=197346

http://www.thecodecage.com/forumz

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default DSOFile.dll error - The document is not an OLE file

I did a regsvr32 c:\dsofile\dsofile.dll and it said it succeeded.

If this just doesn't work....is there a way in VBA to read the custom
document properties of an Excel 2007 without opening it...?

"joel" wrote:


First Locate where the dsofile.dll is locatted. Then follow the
instructions on the webpage for registering the DSO

Read the instructions on the webpage for the following:
Steps to set up and test the DLL


This is a 32 bit DLL which doesn't always run on window7. Window7 is 64
bit.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=197346

http://www.thecodecage.com/forumz

.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default DSOFile.dll error - The document is not an OLE file

I did register via regsvr32 c:\dsofile\dsofile.dll and it still doesn't work.

Is there a way to read custom documents properties in an Excel 2007 file
without opening it?

"joel" wrote:


First Locate where the dsofile.dll is locatted. Then follow the
instructions on the webpage for registering the DSO

Read the instructions on the webpage for the following:
Steps to set up and test the DLL


This is a 32 bit DLL which doesn't always run on window7. Window7 is 64
bit.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=197346

http://www.thecodecage.com/forumz

.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DSOFile.dll error - The document is not an OLE file


I found a very complete webpage that may answer your questions ( and
maybe even give you the answer). I did go to all tthe links but I think
using the XML code on the webpage may be the solution.




'Office Development with Visual Studio'
(http://blogs.msdn.com/vsto/default.aspx?p=3)


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=197346

http://www.thecodecage.com/forumz

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dsofile.dll and Excel 2007 file format Reinhard Thomann[_2_] Excel Programming 4 April 7th 09 11:50 AM
dsofile.dll changes lastsaved of non office files Werner Rohrmoser Excel Programming 0 May 19th 08 08:55 AM
Reading office properties - dsofile.dll Family Tree Mike[_2_] Excel Programming 0 March 5th 08 01:24 PM
"Cannot access read-only document" (I get this error when I try to open an Excel file) [email protected] Setting up and Configuration of Excel 1 June 5th 06 01:15 PM
i cannot open excel file error Cannot access read-only document me Lenda. Excel Worksheet Functions 1 March 14th 05 06:15 PM


All times are GMT +1. The time now is 09:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"