473,766 Members | 2,172 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Prope rtyReader and then the GetDocumentProp erties 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 11159
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.Prope rtyReader and then the GetDocumentProp erties 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******@amerit ech.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 GetDocumentProp erties, but I cannot find dsolefile.dll and
GetDocumentProp erties is not available in dsofile.dll.

Best wishes

Paul Bromley

"Paul Clement" <Us************ ***********@sws pectrum.com> wrote in message
news:ps******** *************** *********@4ax.c om...
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.Prope rtyReader and then the GetDocumentProp erties 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******@amerit ech.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******** ******@TK2MSFTN GP11.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 GetDocumentProp erties, but I cannot find dsolefile.dll and
GetDocumentProp erties is not available in dsofile.dll.

Best wishes

Paul Bromley

"Paul Clement" <Us************ ***********@sws pectrum.com> wrote in message
news:ps******** *************** *********@4ax.c om...
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.Prope rtyReader and then the GetDocumentProp erties 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******@amerit ech.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 GetDocumentProp erties, but I cannot find dsolefile.dll and
¤ GetDocumentProp erties 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).

GetDocumentProp erties 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******@amerit ech.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
1714
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 correctly updated after running the script on the ASP. However, after running the ASP for the second or third time IIS will lock and will fail to respond to any request until I restart IIS or get some error (note that the error is not always the...
14
8737
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 oFilePropReader As DSOleFile.PropertyReader Dim oFileProperties As oFilePropReader.GetDocumentProperties("C:\MyDoc.doc") Response.write ("<table>" & vbCRLF) Response.write ("<tr><td><B>Title: </B></td><td>" & oFileProperties.Title & "</td></tr>" &...
0
1143
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 to copy or move the modified file to a new location. The problem that I am having is that the modified file is somehow being held in memory and not being released. I use the following code to read in the file: Try
3
1672
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 (http://support.microsoft.com/?kbid=224351) and even tried modifing it to make the changes to my local files and I get the same error on both the original and the ASP.net version. Here is an example of my code that's tring to make a change: Private Sub...
3
3561
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 file. The key feature of the dll is that it allows the data to be extracted without the document opening in Word; I successfully used it in VB6 without a problem. Under .NET, however, after I use a function that calls the dll, the function appears...
0
2572
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 datalist. When the next user selects trys to run the page, the page fails and I get a generic error message from the stack trace. I am assuming that the document properties cannot be read when a file is open, but it worked well in asp. ...
0
1274
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 custom property to an empty string ("") it will simply cause all the other existing properties including the newly created on to disappear when trying to look at them by right clicking on properties on the file in Windows the choosing the properties...
2
5711
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 of create instance (Activator.CreateInstance) of 'dsofile.OleDocumentPropertiesClass' it throw the following registry exception: "Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8835
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.