473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
Nov 21 '05 #1
4 11131
On Sun, 23 Jan 2005 22:28:13 -0000, "Paul Bromley" <fl*******@dsl.pipex.com> wrote:

¤ 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...b;en-us;224351
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #2
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

"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:ps********************************@4ax.com...
On Sun, 23 Jan 2005 22:28:13 -0000, "Paul Bromley" <fl*******@dsl.pipex.com> wrote:
¤ 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...b;en-us;224351
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)

Nov 21 '05 #3
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" <fl*******@dsl.pipex.com> wrote in message
news:eN**************@TK2MSFTNGP11.phx.gbl...
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

"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:ps********************************@4ax.com...
On Sun, 23 Jan 2005 22:28:13 -0000, "Paul Bromley" <fl*******@dsl.pipex.com> wrote:

¤ 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...b;en-us;224351
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)


Nov 21 '05 #4
On Mon, 24 Jan 2005 16:57:34 -0000, "Paul Bromley" <fl*******@dsl.pipex.com> wrote:

¤ 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/de...ui04102001.asp
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: | last post by:
I am using Microsoft's dsofile (http://support.microsoft.com/support/kb/articles/Q224/3/51.asp) in an ASP to update a set of custom properties in a Word document. The document properties are always...
14
by: Curtis Tammany | last post by:
Hello- Can someone tell me if DSOFile.dll can be accessed within ASP.NET? DSOFile.dll is registered and I have no problem using it in my .ASP scripts. I have tried the following: Dim...
0
by: Paul Perot | last post by:
Hi All: I need some help. I am using DSOFile.exe to examine and add and/or manipulate some document and custom properties on a JPEG file. When the document properties are correct, I would like...
3
by: Bill Alexander | last post by:
I'm having trouble with updating general fields (Title, Autor Suject, etc.) in the summary of documents located on our Intranet. I've downloaded the FilePropDemoVB7 example...
3
by: Steve Lang | last post by:
Hi all, I am trying to use the DSOleFile.dll in my VB.NET application (that I am converting from VB6) to extract some property data from a Word document before the application processes the...
0
by: troutbum | last post by:
I am experiencing problems when one user has a document open through a share pointing to the web site. I use the dsolefile to read the contents of a particular directory and then display them in a...
0
by: Henrik | last post by:
Hi, I'm trying to set CustomProperties through the newer version of the DSOleFile (2.x) object for Word, Excel and PowerPoint documents. For some reason it seems that when I'm trying to set a...
2
by: sanjay1983 | last post by:
Hi Everyone, I am stuck to access file properties using 'Interop.dsofile.dll'. I dont want registration of this assembly in system registry. I am using reflection to achive this, but at the time...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.