473,657 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DSOFile.dll to read properties from network drive

I am writing an application in ASP.Net which generates a
list of files from a shared network folder using
DirectoryInfo class and then I use the wonderful control,
<a href="http://support.microso ft.com/?
kbid=224351">DS OFile.dll</a>, provided by Microsoft to
gather the document properties like Author, Title etc and
show along with file list. I can generate the file list
from shared network folder but I am not able to read the
document properties from network folder. I provide the
filename to DSOFile control as
docProps = propReader.GetD ocumentProperti es(\\<machine>\ <folder>\<file> )
.. When I provide the local
machine drive(like E:\Folder\file) , it works fine but with
network folder, I get the error: Exception from HRESULT:
0x80030002 (STG_E_FILENOTF OUND).
Can someone please tell me how to resolve this issue?
Thanks,
Jul 21 '05 #1
0 1606

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

Similar topics

0
1709
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
8714
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>" &...
2
3223
by: Jim Richards | last post by:
I have been told by a local PC club technician that 98SE cannot read NTFS drives in a network. Is this true? TIA, Jim.
0
1138
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
4
11148
by: Paul Bromley | last post by:
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...
5
13289
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a number of search folders using the standard dialog control. There shouldn't be an issue with the search folder being on a local drive or a network drive. But if you don't have Read access to the folder, there's trouble. The user can see the...
0
247
by: Nautilus | last post by:
I am writing an application in ASP.Net which generates a list of files from a shared network folder using DirectoryInfo class and then I use the wonderful control, <a href="http://support.microsoft.com/? kbid=224351">DSOFile.dll</a>, provided by Microsoft to gather the document properties like Author, Title etc and show along with file list. I can generate the file list from shared network folder but I am not able to read the document...
0
1346
by: aschurg | last post by:
This post is in regard to archived discussion: http://www.thescripts.com/forum/thread103110.html Here is important information about dsofile.dll from an ASP.NET 2.0 application with regard to access rights/file security: I ran into security access violations when I tried to access a file on a network share using impersonation and read the summary properties using dsofile.dll. It turns out that COM components (such as dsofile.dll)...
2
5701
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
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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
7324
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...
0
4151
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...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1611
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.