Office

    Microsoft Developer Support OLE File Property Reader 2.1 Sample (KB 224351)

    Language:
    English
    Code sample download of a COM component which can be used from scripting languages to read the OLE document properties of Microsoft Office files using the OLE IPropertyStorage interface.
    • Version:

      2.1

      File Name:

      DsoFileSetup_KB224351_x86.exe

      Date Published:

      5/2/2007

      File Size:

      322 KB

        The Microsoft Developer Support OLE File Property Reader 2.1 Sample demonstrates how to use the IPropertyStrorage interface to read and write document properties of Microsoft Word, Microsoft Excel, Microsoft PowerPoint, and Microsoft Visio files, independent of the application that created the file. The sample includes a binary COM component and the component source code, which developers working in managed code (VB.NET or C#) or scripting languages (VBScript, JScript, ASP) can use to better enhance their ability to index, search, organize or edit the properties of Office files from custom projects.

        The sample has been updated in version 2.1 to handle non-OLE files, such as the new Office 2007 file formats, if a custom property handler is available. This will allow users that have the Office 2007 Compatibility Pack to read/write document properties for Office 2007 files without actually having Office 2007 installed.
    • Supported Operating System

      Windows 2000, Windows Vista, Windows XP

        The sample code is written in Visual C++, and Visual Studio 6.0 or higher is required for rebuilding the sample. To be able to edit Office 2007 files, you will also need the Office 2007 Compatibility Pack.
      • Run the setup to extract the sample files to a folder of your choosing. The sample is provided "AS-IS" for demonstration purposes only. See the Microsoft Knowledge Base article 224351 for more details.

    Popular downloads

    Loading your results, please wait...

    Free PC updates

    • Security patches
    • Software updates
    • Service packs
    • Hardware drivers

    Microsoft suggests

    Buy Office 365, get 1 TB OneDrive file storage.
    Get things done from virtually anywhere
    Buy Office 365 and get 1 TB of file storage from OneDrive.
    Buy now