View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jeremy Gollehon[_2_] Jeremy Gollehon[_2_] is offline
external usenet poster
 
Posts: 35
Default DsoFile ActiveX component can't create object on other computers

I've downloaded DsoFile.exe (to access file attributes via code) from
Microsoft and installed it in a folder on my server.
I wrote some code in a Excel procedure that works great on my computer,
after going to Tools References..., and enabling 'DS: OLE Document
Properties 1.4 Object Library'.

When I open the file on another computer (All Windows/OfficeXP fully
patched/service packed) I get an ActiveX "Compenent can't create object"
(429) error when trying to initiate a DSO object with the following code:
Set DSO = New DSOleFile.PropertyReader

I check the reference to 'DS: OLE Document Properties 1.4 Object Library'
and it is checked and showing the correct path to the server. Again, this
works fine on the computer the file was created on. I'm stuck.

Any help is greatly appreciated.
This procedure needs to run on everyone's computer.

Thanks!
-Jeremy