<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx</link><description>Extracting Microsoft Office Application Properties without automation</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#509980</link><pubDate>Fri, 06 Jan 2006 08:41:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:509980</guid><dc:creator>Bill</dc:creator><description>G'day,&lt;br&gt;&lt;br&gt;Just wondering if you had any luck with setting or extracting OLE properties for PDF or even Outlook Message files ? &lt;br&gt;&lt;br&gt;cheers&lt;br&gt;Bill</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#510138</link><pubDate>Fri, 06 Jan 2006 21:08:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:510138</guid><dc:creator>erikaehrli</dc:creator><description>Hi Bill,&lt;br&gt;&lt;br&gt;I only tried using DSOControl for Office files. However, you can always try extracting generic file properties using the System.IO.FileInfo class:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofileinfoclasstopic.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofileinfoclasstopic.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties with DSOfile</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#531673</link><pubDate>Tue, 14 Feb 2006 12:34:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:531673</guid><dc:creator>EdgE</dc:creator><description>It's is possible to change (custom)properties of other files (like pdf, txt, bmp) BUT when these files are compressed or burned on cd, these properties are lost. &lt;br&gt;&lt;br&gt;This is not the case for MS-Office files.&lt;br&gt;WHY???</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#542769</link><pubDate>Fri, 03 Mar 2006 09:23:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:542769</guid><dc:creator>Namrata</dc:creator><description>hi, &lt;br&gt;&lt;br&gt;how do i extract document properties for pdf files in C#? FileInfo class doesnot give details like author, keywords, comments and other properties in which i am interested.&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Namrata</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#543568</link><pubDate>Sat, 04 Mar 2006 15:06:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:543568</guid><dc:creator>fred</dc:creator><description>&lt;br&gt;Looks like the microsoft DSOfile DLL V2.0 (09 feb 06)is bugged : i can update file summary fields only if they've been set manually before (in particular for the &amp;quot;title&amp;quot; field). Otherwise, i get a stupid &amp;quot;persmission is denied&amp;quot; error message, though i'm running locally with admin rights.&lt;br&gt;&lt;br&gt;The DLL VB6 and .NET demos crash the same if these fields were not manually set before !&lt;br&gt;&lt;br&gt;This is pretty annoying. I've been looking for an explanation on the web for hours but couln't find any. Microsoft should care more about the quality of its code.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#589092</link><pubDate>Wed, 03 May 2006 16:24:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:589092</guid><dc:creator>Emeric</dc:creator><description>I have exactly the same problem as Fred: can't update the &amp;quot;title&amp;quot; and &amp;quot;category&amp;quot; fields if they were not manually set before.&lt;br&gt;&lt;br&gt;I'm looking for a not bugged component who can update summary fields for PDF files.&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#590180</link><pubDate>Thu, 04 May 2006 23:29:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:590180</guid><dc:creator>Erika Ehrli</dc:creator><description>Just a little comment to clarify the scope of the DSOfile dll. The Microsoft Developer Support OLE File Property Reader 2.0 is a code sample that demonstrates how to use the OLE IPropertyStrorage interface to read and write the document properties of OLE files, such as the properties of native Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Publisher, and Microsoft Visio files.&lt;br&gt;&lt;br&gt;The sample was not intended to work with PDF files...</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#590182</link><pubDate>Thu, 04 May 2006 23:35:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:590182</guid><dc:creator>Erika Ehrli</dc:creator><description>Emeric and Fred, it seems that you have an authorization problem here. That is because, the sample code opens the files as read only and with no write Access:&lt;br&gt;&lt;br&gt;m_oDocument.Open(sFile, fOpenReadOnly, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess)&lt;br&gt;&lt;br&gt;See the sample code and check out the following comment and line of code:&lt;br&gt;&lt;br&gt;' Here we can tell if file was open read-only...&lt;br&gt;m_fOpenedReadOnly = m_oDocument.IsReadOnly&lt;br&gt;&lt;br&gt;I also found this comment as part of the sample code:&lt;br&gt;&lt;br&gt;'The dsoOptionOpenReadOnlyIfNoWriteAccess allows us to open the file, read/write if we have access, but go ahead and open read-only if&lt;br&gt;we don't. Since viewing properties is main purpose of the sample it is OK for us to fail write access lock on this open...&lt;br&gt;&lt;br&gt;I hope this helps,&lt;br&gt;&lt;br&gt;-Erika&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#590701</link><pubDate>Fri, 05 May 2006 15:25:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:590701</guid><dc:creator>Emeric</dc:creator><description>Thanks for your help Erika, but had the same problems with Word files: could'nt update the &amp;quot;title&amp;quot; and &amp;quot;category&amp;quot; fields if they were not manually set before.&lt;br&gt;&lt;br&gt;But I find the solution and here it is:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://www.codecomments.com/message813451.html"&gt;http://www.codecomments.com/message813451.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;All you have to do is to debug the dsofile by yourself. Just follow the instruction given in the link, it's not very difficult and it works fine, even for pdf files.&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#595706</link><pubDate>Fri, 12 May 2006 02:18:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:595706</guid><dc:creator>Erika Ehrli</dc:creator><description>Emeric and everyone,&lt;br&gt;&lt;br&gt;I am sorry that the DSOFile control has problems to set fields (title and summary) that were not manually set before.&lt;br&gt;&lt;br&gt;I loved this control because it was great for extracting properties and my intentions to share this with the community were the best. I am sure some people might find this useful however.&lt;br&gt;&lt;br&gt;I also want to share that Ken Getz just wrote a new column on how to extract document properties using Office 2007.&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/msdnmag/issues/06/06/AdvancedBasics/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/06/06/AdvancedBasics/default.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;You will see it's quite interesting and I love the fact that the new file formats offer better ways to extract/update document properties and override the need to use automation or the DSOControl.&lt;br&gt;&lt;br&gt;Extracting/writing document properties contained in an XML document is very simple, I am sure everyone will be delighted with this new option.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#642784</link><pubDate>Thu, 22 Jun 2006 15:10:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:642784</guid><dc:creator>Sunith Nair</dc:creator><description>If you want to access the files that are on a remote machine and you are trying to use impersonation then you will need to use AspCompat=&amp;quot;true&amp;quot; for the page trying to access the file. Take a look at this KB for more information &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/325791"&gt;http://support.microsoft.com/kb/325791&lt;/a&gt;&lt;br&gt;&lt;br&gt;-Sunith Nair</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#664125</link><pubDate>Thu, 13 Jul 2006 08:23:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:664125</guid><dc:creator>Isaih</dc:creator><description>Hi I've used dsofile.dll tp develop an application. Dsofile.dll fails to register when I deploy to another computer even though it returns a &amp;quot;registration successful&amp;quot; method when regsvr32 is used at the command line. &lt;br&gt;&lt;br&gt;Any ideas?&lt;br&gt;&lt;br&gt;Thanks</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#669741</link><pubDate>Tue, 18 Jul 2006 18:04:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:669741</guid><dc:creator>Antony</dc:creator><description>What is the best way t0 get PDF properties ? Can this be used ?</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#672273</link><pubDate>Thu, 20 Jul 2006 08:23:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:672273</guid><dc:creator>Henrik</dc:creator><description>Hello, &lt;br&gt;I have also tried this component and used both versions that I know of. However, when I upgraded to version 2, I can no longer store properties with empty strings (&amp;quot;&amp;quot;) as values. If so, Windows will no longer display any custom properties on the properties tab (even though they are there). And if opening the file in Word, and then trying to look at the custom properties, Word will crash. How come this is? Is there anyone that has a workaround?&lt;br&gt;</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#771061</link><pubDate>Mon, 25 Sep 2006 23:03:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:771061</guid><dc:creator>John Rummell</dc:creator><description>Thanks for the example, this is great. &amp;nbsp;I can't getting working though ...&lt;br&gt;&lt;br&gt;I'm getting an Access denied error on the line that instantiates the DSOFile.OleDocumentPropertiesClass object ... any ideas?</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#774048</link><pubDate>Wed, 27 Sep 2006 20:37:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:774048</guid><dc:creator>John Rummell</dc:creator><description>I got it working - had to fix security for com applications.</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1083606</link><pubDate>Thu, 16 Nov 2006 02:30:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1083606</guid><dc:creator>John Rummell</dc:creator><description>&lt;p&gt;Since I've received a few emails on how I fixed my issue, I'll drop the link to my solution here --&amp;gt; &lt;a rel="nofollow" target="_new" href="http://forums.asp.net/thread/1409599.aspx"&gt;http://forums.asp.net/thread/1409599.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1189915</link><pubDate>Sat, 02 Dec 2006 06:57:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1189915</guid><dc:creator>James</dc:creator><description>&lt;p&gt;Please forgive as this may be a very simple fix. I am very new to programming but have beeb spending many late nights on this. &amp;nbsp;I keep getting the following error:&lt;/p&gt;
&lt;p&gt; Compiler Error Message: CS0246: The type or namespace name 'DSOFile' could not be found (are you missing a using directive or an assembly reference?)&lt;/p&gt;
&lt;p&gt;I do have the reference and the dll is registered both on my local machine and server. &amp;nbsp;I even tried to Import Namespace=&amp;quot;DSOFile&amp;quot; and &amp;quot;Interop.DSOFile&amp;quot; and &amp;quot;InteropDSOFile&amp;quot; and none of that worked.&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1221002</link><pubDate>Wed, 06 Dec 2006 13:36:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1221002</guid><dc:creator>Nike</dc:creator><description>&lt;p&gt;Maybe a simple thought but, if there's a fix for this issue, why doesn't ms release a new version of the DSOFile.dll with the fix embedded? Seems logical to me...&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1349366</link><pubDate>Fri, 22 Dec 2006 22:45:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1349366</guid><dc:creator>roylasris</dc:creator><description>&lt;p&gt;So how can I extract, let's say, a document's subject in a docx (2007) Word file. DSOfile doesn't seem to work against a docx file.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Roy&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1356774</link><pubDate>Sun, 24 Dec 2006 15:01:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1356774</guid><dc:creator>roylasris</dc:creator><description>&lt;p&gt;Part 2: I have studied Erika's letter and Ken Getz' article, but am still confounded as to how I can, within a VBA project, extract, let's say, the 'subject' of an unopened Word2007 document. (I can do it with an open document without any problem. Its the unopened ones that give me a problem.)&lt;/p&gt;
&lt;p&gt;Given how simple 2007 is supposed to make investigating the various parts of a docx document, it would seem that it should be an easier process. &amp;nbsp;(Ken's article (for a VBA person such as myself) is way beyond me.) Is there a simple 'replacement' for dsofile in 2007?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;--Roy&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1454835</link><pubDate>Fri, 12 Jan 2007 14:57:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1454835</guid><dc:creator>Rifmetroid</dc:creator><description>&lt;p&gt;Sorry my English isn't very well, but i'll try.&lt;/p&gt;
&lt;p&gt;Does anybody use the dsofile.dll under Windows XP64?&lt;/p&gt;
&lt;p&gt;Does it work? I have some Problems with it and i want to fix it.&lt;/p&gt;
&lt;p&gt;Rif&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1488808</link><pubDate>Thu, 18 Jan 2007 17:32:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1488808</guid><dc:creator>Liesha </dc:creator><description>&lt;p&gt;Has anyone tried using DSO for files on a mapped drive or a &amp;nbsp;remote network location ..&lt;/p&gt;
&lt;p&gt;Would be obliged if one could suggest how it works...&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Liesha.&lt;/p&gt;
</description></item><item><title>Digital Signitaure with DSOFil</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1763439</link><pubDate>Mon, 26 Feb 2007 17:31:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1763439</guid><dc:creator>A. Mandl</dc:creator><description>&lt;p&gt;Hello, I am trying to get the digital Signiture with DSO File. It is enough for me to find out weather an office file is signed or not (I don't need to proof the signiture or get the signiture...)&lt;/p&gt;
&lt;p&gt;is this possible?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1768817</link><pubDate>Tue, 27 Feb 2007 17:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1768817</guid><dc:creator>A. Mandl</dc:creator><description>&lt;p&gt;Hello, another question:&lt;/p&gt;
&lt;p&gt;with DSOFile 1.4 it was possible to find out if a macro was attached to an Office File - with DSOFile 2.0 I have not found this opportuity?!&lt;/p&gt;
&lt;p&gt;Am I doing something wrong?&lt;/p&gt;
&lt;p&gt;regards Alex&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1769857</link><pubDate>Tue, 27 Feb 2007 20:18:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1769857</guid><dc:creator>Pachara</dc:creator><description>&lt;p&gt;Hi Erika &lt;/p&gt;
&lt;p&gt; &amp;nbsp; I have some question. I need add Summary Properties for file(xls,pdf,txt,.....) by C#. But When I complie this program completed and right click this file. file summary properties it is enable. it can't change summary properties by manual.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;when open file with DSOFile it Error:&amp;quot;A lock violation has occurred. (Exception from HRESULT: 0x80030021 (STG_E_LOCKVIOLATION))&amp;quot; &lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Pachara&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1770650</link><pubDate>Wed, 28 Feb 2007 00:08:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1770650</guid><dc:creator>A.Mandl</dc:creator><description>&lt;p&gt;Hi again: has anyone a full list of the Documentproperties and their types? than I can extend the DSOFile source...&lt;/p&gt;
&lt;p&gt;cheers alex&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1773691</link><pubDate>Wed, 28 Feb 2007 15:16:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1773691</guid><dc:creator>Pachara</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I make program use C# for edit summury properties file. it can't open file .txt.&lt;/p&gt;
&lt;p&gt;--**code exsample**---&lt;/p&gt;
&lt;p&gt;String filePath = &amp;quot;C:\myfile.txt&amp;quot;;&lt;/p&gt;
&lt;p&gt;myDSOOleDocument.Open(filePath, false, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess)&lt;/p&gt;
&lt;p&gt;myDSOOleDocument.SummaryProperties.Keywords = txtKeywords.text;&lt;/p&gt;
&lt;p&gt;myDSOOleDocument.save();&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1844426</link><pubDate>Fri, 09 Mar 2007 17:01:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1844426</guid><dc:creator>sth_Weird</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I'm afraid the sample doesn't work for me, either.&lt;/p&gt;
&lt;p&gt;It doesn't throw any exception when I simply open a file, but it can't write anything. Neither with the sample application nor with my own c# crogramme. I get an access denied error every time I try and the programme crashes. &lt;/p&gt;
&lt;p&gt;The file I tried to use is a simple txt file I created using C#.&lt;/p&gt;
&lt;p&gt;When using the OleDocumentPropertiesClass to open a file in my c# code I get an exception that the file has no ole storage. &lt;/p&gt;
&lt;p&gt;???&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1880266</link><pubDate>Wed, 14 Mar 2007 14:37:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1880266</guid><dc:creator>Pachara</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;You can't show your sample code for me. &lt;/p&gt;
&lt;p&gt;thank you very much.&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#1992083</link><pubDate>Fri, 30 Mar 2007 05:29:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1992083</guid><dc:creator>TrevG</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don't have a C complier to rebuild the DSOFILE.dll as described by Emeric in May.&lt;/p&gt;
&lt;p&gt;Can anyone e-mail me the patched DSFILE.DLL to tjg001@tpg.com.au&lt;/p&gt;
&lt;p&gt;Regards ..... Trevor G&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#2671805</link><pubDate>Wed, 16 May 2007 15:35:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2671805</guid><dc:creator>Amit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;dso Document Properties does not match with document properties shows in File-&amp;gt;property window in application.&lt;/p&gt;
&lt;p&gt;PLease check it.&lt;/p&gt;
&lt;p&gt;i think this bug in dso dll.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Amit&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#3746781</link><pubDate>Sat, 07 Jul 2007 16:59:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3746781</guid><dc:creator>tmlay</dc:creator><description>&lt;p&gt;Column handlers in XP do not look at the same property set fields as in Windows 2K. &lt;/p&gt;
&lt;p&gt;I have an application that allows you update propery fields like author and comments for a variety of file types including PDF's. The information is properly displayed for all file types in windows 2K.&lt;/p&gt;
&lt;p&gt;In windows XP, the author and comments fields are not displayed for multi-media files (jpg, gif etc.) in Windows Explorer although if you reinvoke my shell extension the values are there.&lt;/p&gt;
&lt;p&gt;Is there any documentation on other property sets? and which property sets are referenced by different column hanlders in Explorer??&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#3949836</link><pubDate>Thu, 19 Jul 2007 08:10:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3949836</guid><dc:creator>Sandeep Mishra</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a problem with DSOFile 2.0,I am trying to identify that whether a macro is attached to my document using DSOFile.&lt;/p&gt;
&lt;p&gt;How this can be obtained.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Sandeep&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#3973745</link><pubDate>Fri, 20 Jul 2007 14:00:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3973745</guid><dc:creator>Sandeep Mishra</dc:creator><description>&lt;p&gt;Hi Erika,&lt;/p&gt;
&lt;p&gt;I have a problem with DSOFile 2.0,I am trying to identify that whether a macro is attached to my document using DSOFile.&lt;/p&gt;
&lt;p&gt;How this problem can be solved.Coz there is no direct property in DSOFile 2.0 to identify a macro in my document.&lt;/p&gt;
&lt;p&gt;looking for your reply,its urgent.&lt;/p&gt;
&lt;p&gt;Do any one else know the solution to this?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Sandeep&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#4272977</link><pubDate>Tue, 07 Aug 2007 09:17:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4272977</guid><dc:creator>Dave Kolb</dc:creator><description>&lt;p&gt;I installed the latest version of dsofile and find that using the FilePropDemoVB7 program and merely looking at a file adds ADS files to the file being looked at even while it shows you there are no extended properties. At least it did for me for .txt, .rtf and .htm files. Has anyone else experienced this? Hopefully dsofile will be fixed to not do this. This is a bug in either the demo program of dsofile is it not? Thanks, Dave&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#4272990</link><pubDate>Tue, 07 Aug 2007 09:18:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4272990</guid><dc:creator>Dave Kolb</dc:creator><description>&lt;p&gt;Also, is there anyway to get Vista explorer to show the new properties? I added a &amp;quot;description&amp;quot; to a .txt file and turned on &amp;quot;description&amp;quot; in the explorer view for that folder but did not see the description data I entered. Dave&lt;/p&gt;
</description></item><item><title>custom properties are not visible on the properties tab only for some documents</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#4414906</link><pubDate>Thu, 16 Aug 2007 15:58:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4414906</guid><dc:creator>Lakshminarayana</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have used DSOFile.dll v2.1 to read and write the custom properties of the document. When opened the custom properties tab by right-clicking on the file, no properties are visible even though they are present with the file.&lt;/p&gt;
&lt;p&gt;These properties are visible if I open up the document and view the properties from the File menu.&lt;/p&gt;
&lt;p&gt;Why cannot I see them by right clicking on the file itself? That too, this is happening with only few documents.&lt;/p&gt;
&lt;p&gt;If I re-open the file using the following code snippet and closes it, it shows up the same custom properties by right-clicking them. But this solution doesn't help me in my project.&lt;/p&gt;
&lt;p&gt;**********************&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If strWindowsFilePath.Substring(strWindowsFilePath.IndexOf(&amp;quot;.&amp;quot;) + 1, 3) = &amp;quot;doc&amp;quot; Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim oWord As Word.Application&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim oDoc As Word.Document&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim oBuiltInProps As Object&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim oCustomProps As Object&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim oProp As Object&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Create Word Application&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oWord = CreateObject(&amp;quot;Word.Application&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Open the document&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oDoc = oWord.Documents.Open(strWindowsFilePath)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Get custom properties collection&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oCustomProps = oDoc.CustomDocumentProperties&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'This will let the word know that the document should be saved&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oWord.ActiveDocument.Saved = False&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Save changes in the document &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oWord.ActiveDocument.Save()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Quit Word&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oWord.Quit(savechanges:=True)&lt;/p&gt;
&lt;p&gt;*************************************************&lt;/p&gt;
&lt;p&gt;Your help greately appreciated!!!&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#5273099</link><pubDate>Thu, 04 Oct 2007 12:19:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5273099</guid><dc:creator>Ruben</dc:creator><description>&lt;p&gt;Thanks for this information, this was very useful to me, because I didn't really want to use Word Interop to simply set and get some document properties. Using DSO is a much cleaner and leaner solution.&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#5401234</link><pubDate>Thu, 11 Oct 2007 16:13:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5401234</guid><dc:creator>Saju</dc:creator><description>&lt;p&gt;Hi Pachara,&lt;/p&gt;
&lt;p&gt;The error that you (and probably others facing problems with Office 2007) are facing might be due to registration of the dll. If you change the location of dsofile.dll, after extracting it, you need to register it using: regsvr32 [File path]dsofile.dll (in Windows -&amp;gt; Run). Hope this helps.&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#5797140</link><pubDate>Wed, 31 Oct 2007 14:24:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5797140</guid><dc:creator>Zal Ahmet</dc:creator><description>&lt;p&gt;I have been enocuntering a great deal of problems trying to get this example to work. &amp;nbsp;I hope someoner can help me.&lt;/p&gt;
&lt;p&gt;I have added a page to my website wherei have inserted all the code from the above example.&lt;/p&gt;
&lt;p&gt;I have downloaded the dsofile.exe and registered it to the server regsvr.exe file. &amp;nbsp;I have added the dll file to my bin folder, so i get Interop.DSOFile.dll in my bin folder.&lt;/p&gt;
&lt;p&gt;I ran the example and i upload a word document from my desktop to a folder location in my website. &amp;nbsp;I have given access rights to read and write to this folder so i hav no issues there. &amp;nbsp;When i click on the bowse button the location from my desktop is inserted into the file control. &amp;nbsp;when i click the load properties the proporties of the document are not populated. &amp;nbsp;And when i browsse to the folder location in the website to the file which has jsut been uplaoded the docmuent content disappears. &amp;nbsp;The only thing which appears as the content of the word document is the following line:&lt;/p&gt;
&lt;p&gt;Mediachase.FileUploader.McHttpModule:a74523fa-8957-4424-a205-21af536f39b2&lt;/p&gt;
&lt;p&gt;I have used the uplaod method many times in previous work so i dont understand what is happening. &amp;nbsp;Also none of the document proerties exist in this uploaded document.&lt;/p&gt;
&lt;p&gt;Please help!&lt;/p&gt;
&lt;p&gt;Many thanks in advance &lt;/p&gt;
&lt;p&gt;zal&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#5798737</link><pubDate>Wed, 31 Oct 2007 16:50:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5798737</guid><dc:creator>Zal</dc:creator><description>&lt;p&gt;replying to my previous issue.&lt;/p&gt;
&lt;p&gt;I have resovled it i was not using the correct file uploader so i jsut changed it to the &amp;nbsp;Mediachase.FileUploader and it worked.&lt;/p&gt;
&lt;p&gt;yeppie doooooooooooooooo&lt;/p&gt;
&lt;p&gt;Happy programming&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8368515</link><pubDate>Tue, 08 Apr 2008 12:56:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8368515</guid><dc:creator>Raam</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; I tried to Extract Text from Excel File, after Open the Excel file ,some files get extracted but some other not. now i am using VS2005 language C#&lt;/p&gt;
&lt;p&gt;am new for Automation Process&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8507572</link><pubDate>Thu, 15 May 2008 13:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8507572</guid><dc:creator>Prakash Tandukar</dc:creator><description>&lt;p&gt;I am using dso.dll (ver 2.1) to read ole file property. But we did not use com dso dll. Actually we re-wrote our won general dll(not com). Using our own dll, we were able to read ole property of doc file but we had problem reading docx property. Here is code snippet&lt;/p&gt;
&lt;p&gt;extern &amp;quot;C&amp;quot; TZDSOFILE_API IStorage* GetIStorage(char *filename) &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;	//Translate filename to Unicode.&lt;/p&gt;
&lt;p&gt;	WCHAR wcFilename[1024];&lt;/p&gt;
&lt;p&gt;	setlocale( LC_ALL, &amp;quot;&amp;quot; );&lt;/p&gt;
&lt;p&gt;	int i = mbstowcs(wcFilename, filename, strlen(filename));&lt;/p&gt;
&lt;p&gt;	setlocale( LC_ALL, &amp;quot;C&amp;quot; );&lt;/p&gt;
&lt;p&gt;	wcFilename[i] = 0;&lt;/p&gt;
&lt;p&gt;	IStorage *pStorage = NULL;&lt;/p&gt;
&lt;p&gt;	HRESULT hr;&lt;/p&gt;
&lt;p&gt;	// Open the document as an OLE compound document.&lt;/p&gt;
&lt;p&gt;	hr = ::StgOpenStorageEx(wcFilename, NULL,&lt;/p&gt;
&lt;p&gt;	STGM_READ | STGM_SHARE_EXCLUSIVE, NULL, 0, &amp;amp;pStorage);&lt;/p&gt;
&lt;p&gt;	if(SUCCEEDED(hr))&lt;/p&gt;
&lt;p&gt;		return pStorage;&lt;/p&gt;
&lt;p&gt;	else&lt;/p&gt;
&lt;p&gt;		return NULL;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;For doc file, this function successfully return IStorage but for docx file it returns null.&lt;/p&gt;
&lt;p&gt;Should we use different approach for docx file?&lt;/p&gt;
&lt;p&gt;Any idea...&lt;/p&gt;
&lt;p&gt;Highly Appreciated...&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8507900</link><pubDate>Thu, 15 May 2008 15:46:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8507900</guid><dc:creator>Prakash Tandukar</dc:creator><description>&lt;p&gt;Sorry my previous function was wrong. &amp;nbsp;Here is the correct one&lt;/p&gt;
&lt;p&gt;extern &amp;quot;C&amp;quot; TZDSOFILE_API IStorage* GetIStorage(char *filename) &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;	//Translate filename to Unicode.&lt;/p&gt;
&lt;p&gt;	WCHAR wcFilename[1024];&lt;/p&gt;
&lt;p&gt;	setlocale( LC_ALL, &amp;quot;&amp;quot; );&lt;/p&gt;
&lt;p&gt;	int i = mbstowcs(wcFilename, filename, strlen(filename));&lt;/p&gt;
&lt;p&gt;	setlocale( LC_ALL, &amp;quot;C&amp;quot; );&lt;/p&gt;
&lt;p&gt;	wcFilename[i] = 0;&lt;/p&gt;
&lt;p&gt;	IStorage *pStorage = NULL;&lt;/p&gt;
&lt;p&gt;	HRESULT hr;&lt;/p&gt;
&lt;p&gt;	// Open the document as an OLE compound document.&lt;/p&gt;
&lt;p&gt;	hr = ::StgOpenStorage(wcFilename, NULL,&lt;/p&gt;
&lt;p&gt;	STGM_READ | STGM_SHARE_EXCLUSIVE, NULL, 0, &amp;amp;pStorage); &lt;/p&gt;
&lt;p&gt;	if(SUCCEEDED(hr))&lt;/p&gt;
&lt;p&gt;		return pStorage;&lt;/p&gt;
&lt;p&gt;	else&lt;/p&gt;
&lt;p&gt;		return NULL;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8565409</link><pubDate>Sat, 31 May 2008 06:20:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8565409</guid><dc:creator>Intel</dc:creator><description>&lt;p&gt;Erika,&lt;/p&gt;
&lt;p&gt;I have been trying to query the custom properties of a word document using DSOFile, but I cannot get it to work correctly.&lt;/p&gt;
&lt;p&gt;Do you have any example C# code, which would allow me to query and edit these custom properties?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Intel96&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8684645</link><pubDate>Thu, 03 Jul 2008 19:34:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8684645</guid><dc:creator>Urvish</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;i m doing coding in C#.&lt;/p&gt;
&lt;p&gt;Is it possible to make Custom property (by programming)(word,excel,ppt)to hide from user or make read only - When user right click on file ,see custom property OR open file in word and see property. &lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Urvish&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8766690</link><pubDate>Wed, 23 Jul 2008 14:53:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8766690</guid><dc:creator>Ganesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using dsofile.dll to retrieve page count property for doc, xls and ppt documents.&lt;/p&gt;
&lt;p&gt;It provides default page count as 1 for all Word documents and 0 for all excel documents&lt;/p&gt;
&lt;p&gt;I need page count for Word document and excel sheet count for excel documents.&lt;/p&gt;
&lt;p&gt;//Sample Code&lt;/p&gt;
&lt;p&gt;int noofPages;&lt;/p&gt;
&lt;p&gt;DSOFile.OleDocumentPropertiesClass objDocument = null;&lt;/p&gt;
&lt;p&gt;objDocument.Open &lt;/p&gt;
&lt;p&gt;(uploadedFile, true, dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess);&lt;/p&gt;
&lt;p&gt;noofPages = objDocument.SummaryProperties.PageCount&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8766695</link><pubDate>Wed, 23 Jul 2008 14:56:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8766695</guid><dc:creator>Ganesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using dsofile.dll to retrieve page count property for doc, xls and ppt documents.&lt;/p&gt;
&lt;p&gt;It provides default page count as 1 for all Word documents and 0 for all excel documents&lt;/p&gt;
&lt;p&gt;I need page count for Word document and excel sheet count for excel documents.&lt;/p&gt;
&lt;p&gt;//Sample Code&lt;/p&gt;
&lt;p&gt;int noofPages;&lt;/p&gt;
&lt;p&gt;DSOFile.OleDocumentPropertiesClass objDocument = null;&lt;/p&gt;
&lt;p&gt;objDocument.Open &lt;/p&gt;
&lt;p&gt;(uploadedFile, true, dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess);&lt;/p&gt;
&lt;p&gt;noofPages = objDocument.SummaryProperties.PageCount&lt;/p&gt;
&lt;p&gt;Pls let me know, How can i get the Page Count for the above documents&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Ganesh&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#8993824</link><pubDate>Fri, 10 Oct 2008 09:53:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8993824</guid><dc:creator>Manjit</dc:creator><description>&lt;p&gt;Do anyone tried this in Vista. It does not seem to work in Vista. Please Suggest....&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#9054359</link><pubDate>Sat, 08 Nov 2008 19:59:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9054359</guid><dc:creator>vbwulf</dc:creator><description>&lt;p&gt;Using the lastest version of DSOFile.dll (2.1.2841), the old problem with modifying empty properties seems to be resolved.&lt;/p&gt;
&lt;p&gt;However, using dsofile to modify the properties of non-office-files [:♣SummaryInformation-streams of files on NTFS partitions], there seem to remain some bugs:&lt;/p&gt;
&lt;p&gt;1) The following properties can only be read, writing them returns error 450 (wrong number of arguments or invalid property assignment):&lt;/p&gt;
&lt;p&gt;-Template&lt;/p&gt;
&lt;p&gt;-RevisionNumber&lt;/p&gt;
&lt;p&gt;2) The following properties can neither be read correctly (always return empty value), nor modified: &lt;/p&gt;
&lt;p&gt;-ApplicationName&lt;/p&gt;
&lt;p&gt;-DateCreated (@modify returns error -2147467259)&lt;/p&gt;
&lt;p&gt;-DateLastSaved (@modify returns error -2147467259)&lt;/p&gt;
&lt;p&gt;Did anybody successfully manage to modify these properties @ non-office-documents?&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#9059368</link><pubDate>Tue, 11 Nov 2008 09:57:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9059368</guid><dc:creator>Archana</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have developed web application in asp.net 1.0 , In one of the report i have used Excel sheet to open ,it was giving access denied error &amp;nbsp;.&lt;/p&gt;
&lt;p&gt;So after giving ASPNET permission to folder(project folder) and to Excel Component in dcomcnfg file . Report in excel sheet &amp;nbsp;opened properly with no bugs in Windows XP &lt;/p&gt;
&lt;p&gt;But Even after giving same permission in all the neccessary place ( which i follwed in window XP), I am getting same error &amp;nbsp;as Access is denied in windows 2003 OS.&lt;/p&gt;
&lt;p&gt;With Exception as to set ASPNET permission to folder.&lt;/p&gt;
&lt;p&gt;Please help&lt;/p&gt;
&lt;p&gt;Thanks in Advance ,&lt;/p&gt;
&lt;p&gt;Archana&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#9633433</link><pubDate>Thu, 21 May 2009 10:50:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9633433</guid><dc:creator>limo</dc:creator><description>&lt;p&gt;hi there,&lt;/p&gt;
&lt;p&gt;I am trying to read the file content i.e. text inside the word document to save it into a database, however it returns error saying : document.Template = null &lt;/p&gt;
&lt;p&gt;following is my code for the same :&lt;/p&gt;
&lt;p&gt; // dsofile operation to read word docs&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DSOFile.OleDocumentPropertiesClass mDoc = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DSOFile.SummaryProperties docContent;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;DSOFile.CustomProperties dcContent;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mDoc = new DSOFile.OleDocumentPropertiesClass();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mDoc.Open(filePath, true, DSOFile.dsoFileOpenOptions.dsoOptionDefault);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; docContent = mDoc.SummaryProperties;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strMsg = Convert.ToString(docContent.Template);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mDoc.Close(false);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strMsg = strMsg.Replace(&amp;quot;\r&amp;quot;, &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strMsg = strMsg.Replace(&amp;quot;\n&amp;quot;, &amp;quot;&amp;lt;br&amp;gt;&amp;quot;);&lt;/p&gt;
</description></item><item><title>re: Extracting Microsoft Office Application Properties without automation</title><link>http://blogs.msdn.com/erikaehrli/archive/2005/11/30/dsofileproperties.aspx#9900715</link><pubDate>Tue, 29 Sep 2009 13:49:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9900715</guid><dc:creator>rn</dc:creator><description>&lt;p&gt;I am able to set the properties into a given file. The problem is if I send that file via email to anybody, the properties as well as the custom properties I would have written are getting lost.&lt;/p&gt;
&lt;p&gt;My requirement is one shoudl be able to set the properties programatically and then they should persist across email exchanges.&lt;/p&gt;
&lt;p&gt;How do we handle this?&lt;/p&gt;
</description></item></channel></rss>