Recovering the pictures from a PPT file

  The PPT file format is very well documented as per Microsoft’s Open Specification Promise. However, accessing any part of a PPT file isn’t really a snap. I’ve created a small C# program which parses the \Pictures stream from a PPT file. For that, one needs to: Extract the Pictures stream from the PPT OLE…

5

Create metafile from icon and label

Going further on the Windows Metafile problematic from a previous post, I’ve created a sample code for illustration a pretty useful functionality from OLE. What the OLE function implemented here does is to generate a metafile with the icon and label for a specific file: The way to do this is: 1. Call SHGetFileInfo to…

0

OLElsTool - Working with OLE storages

I’m posting here a tool that can be used for viewing and modifying OLE storage. The syntax is as follows: Usage: OLElsTool.exe <File_In> <Options>          -L: list          -X <part> <toFile>: extract part          -M <part> <fromFile>: modify part  Sample usage: say we copy an Excel range and paste it into Word using Paste Special,…

0