DSOFile.dll or DSOleFile.dll - which one???

  • Thread starter Thread starter Paul Bromley
  • Start date Start date
P

Paul Bromley

I have been pondering over this one all night!! I want to read the
properties of a Word document WITHOUT opening it - notably the title
document. Having read the newsgroups it seems that I neede to download from
the MS site the DSOFile package containing the said DLL. However on looking
in the newsgroups the best option to me seems to be using the
DSOleFile.PropertyReader and then the GetDocumentProperties property, but
this seems to be associated with the DSOleFile.dll file which I do not
have - and cannot find, although this is mentioned in the same postings re
DSOFile.dll. Can someone help me out with this one - I am very confused. As
I understand it of I use DSOFile.dll I would have to open the Word document
before getting the properties. I am accessing maybe up to 100 word documents
at a time across a network and then I want to load the file titles into a
treeview. Help please.

Best wishes

Paul Bromley
 
¤ I have been pondering over this one all night!! I want to read the
¤ properties of a Word document WITHOUT opening it - notably the title
¤ document. Having read the newsgroups it seems that I neede to download from
¤ the MS site the DSOFile package containing the said DLL. However on looking
¤ in the newsgroups the best option to me seems to be using the
¤ DSOleFile.PropertyReader and then the GetDocumentProperties property, but
¤ this seems to be associated with the DSOleFile.dll file which I do not
¤ have - and cannot find, although this is mentioned in the same postings re
¤ DSOFile.dll. Can someone help me out with this one - I am very confused. As
¤ I understand it of I use DSOFile.dll I would have to open the Word document
¤ before getting the properties. I am accessing maybe up to 100 word documents
¤ at a time across a network and then I want to load the file titles into a
¤ treeview. Help please.

See the following:

http://support.microsoft.com/default.aspx?scid=kb;en-us;224351


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Hi Paul,

I dowloaded the dsofile package from here so I was aware of this link. On
Google however there are several references to dsolefile.dll that has will
allow me to use GetDocumentProperties, but I cannot find dsolefile.dll and
GetDocumentProperties is not available in dsofile.dll.

Best wishes

Paul Bromley

 
Just to complete this thread - I still have no idea regarding DSOleFile as
only DSOfile.dll seems to be available.
I have used the latter successfully for what I wanted. My problem was that I
did not close the file after opening each one.

Thanks


Paul Bromley

Paul Bromley said:
Hi Paul,

I dowloaded the dsofile package from here so I was aware of this link. On
Google however there are several references to dsolefile.dll that has will
allow me to use GetDocumentProperties, but I cannot find dsolefile.dll and
GetDocumentProperties is not available in dsofile.dll.

Best wishes

Paul Bromley
 
¤ Hi Paul,
¤
¤ I dowloaded the dsofile package from here so I was aware of this link. On
¤ Google however there are several references to dsolefile.dll that has will
¤ allow me to use GetDocumentProperties, but I cannot find dsolefile.dll and
¤ GetDocumentProperties is not available in dsofile.dll.
¤

DSOleFile is the project name of the component, not the file name. The file name is dsofile.dll. If
you look in the Add Reference dialog (COM) tab, it's listed as DS: OLE Document Properties 1.2
Object Library (assuming you have registered the component).

GetDocumentProperties is a method of the PropertyReader class for DSOleFile.

Below is an example of how to use it:

http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnaraskdr/html/askgui04102001.asp


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top