Windows and .NET Programming

Programming Debugging WinDBG

Browse by Tags

Tagged Content List
  • Blog Post: Building a large text file editor – Part II

    In the previous post I created a class that was going to be used as an interface between a large file editor and the file on the disk. Since then I've been implementing the user interface and, obviously, the RevisionStream also needed some readjustment. Here are some major changes that were done:...
  • Blog Post: Building a large text file editor – Part I

    The purpose of this series of two blog posts is to illustrate how an editor for large files can be implemented. The first part will address the model behind the editor whereas the second part will include an actual UserControl that allows users to view and edit large files. The basic idea behind a...
  • Blog Post: 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...
  • Blog Post: Indenting XML files

    The operation of indenting XML files is pretty trivial when using the classes from the System.XML namespace. However, I often find myself trying to read canonical XML code from files. As such, a created a very simple tool that converts XML files to indented XML. All you need to do is to drag and drop...
  • Blog Post: List styles in Word document with preview

    The sample code from my previous post does a pretty good job listing the styles in a Word document. However, having a preview of these styles makes it a lot easier to spot the subtle differences than by using the Description object. For generating a preview of the styles I used some code posted by...
  • Blog Post: Listing styles in Word document

    When dealing with Styles in Word you can never have too much control. This is when a listing of the existing styles and their descriptions helps a lot. Happily VBA provides a powerful way of getting details about a certain style through the Description member of the Style class. Based on this I’ve...
  • Blog Post: Brushing up on the WPF and Windows 7 Jump Lists

    This is just a summary on the new Windows 7 features and how these can be implemented in .NET. There is plenty documentation on both Windows Presentation Foundation and the Windows 7 SDK but actually implementing a solution is a bit harder. So here we have it: a WPF application that create Jump Lists...
  • Blog Post: XML Highlight in RichTextBox

    Recently I’ve been looking for some piece of code that would perform XML highlighting in a Rich Text Box. The Internet provides several free samples and several commercial samples but I wasn’t really satisfied with what I found, mainly because it involved using an XMLTextReader object, which...
  • Blog Post: Extra Events for Excel

    As a developer of Automation solutions for Microsoft Office one might feel the need of some extra events. Quoting from the MSDN VBA Object Model reference, here is the list of events from the Excel.Application object: AfterCalculate Event CalculationDone Event NewWorkbook Event SheetActivate...
  • Blog Post: EMF+ Untangled

    A common belief regarding the EMF format, at least as it appears by browsing technical blog posts, is that this format was never documented by Microsoft and that there are many unknown facts about it. This opinion is wrong, as the format has complete publicly available specifications posted on MSDN ...
  • Blog Post: 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...
  • Blog Post: OpenDoc tool unveiled

    After the previous blog posts with the OpenDoc tool, I’ve learned that, while this tool can be very helpful, it also raises a lot of questions mainly because it lacks proper documentation. As such, I’ve decided to post the source code giving everybody who is interested the liberty of modifying...
  • Blog Post: OpenDoc tool reloaded

    In a previous post , I described a tool for editing OpenXML documents from a managed context. I've added three more features for some common tasks: 1. Remove a part Syntax: OpenDoc.exe -r <Input file> <Part> Sample usage scenarios : removing the calculation chain, removing...
  • Blog Post: Working with OpenXML documents

    The default format for saving Excel, Word and PowerPoint documents has luckily changed since Office 2007 to the Open XML formats. There is good documentation available for these formats on: MSDN: Introduction to the Office 2007 file formats: http://msdn.microsoft.com/en-us/library/aa338205.aspx...
  • Blog Post: External links in Excel files

    Topic This is a post that contains a tool for analyzing the external links in an Excel Workbook. The tool is intended to provide information regarding the linked workbooks, the cells from a workbook that contain external links, as well as the target worksheets and cells. It will generate...
Page 1 of 1 (15 items)