Windows and .NET Programming
Programming Debugging WinDBG
Translate This Page
Translate this page
crash dump collect debugdiag wer windows error reporting windbg procdump
Large File Editor
Smart Document .NET 2.0 908002 KB908002 KB
Browse by Tags
Windows and .NET Programming
Tagged Content List
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:...
2 Mar 2012
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...
25 Jan 2012
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...
13 May 2011
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...
17 Mar 2011
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...
14 Mar 2011
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...
25 Feb 2011
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...
11 Feb 2011
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...
31 Jan 2011
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...
6 Sep 2010
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 ...
23 Aug 2010
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...
3 Jun 2010
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...
2 Jun 2010
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...
2 Apr 2010
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...
8 Mar 2010
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...
5 Mar 2010
Page 1 of 1 (15 items)
© 2015 Microsoft Corporation.
Privacy & Cookies