Windows and .NET Programming

Programming Debugging WinDBG

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...

Date: 03/02/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...

Date: 01/25/2012

Monitoring when registry keys are modified

Let’s say you want to see where a certain setting from Word Options is saved in Registry. The...

Date: 11/29/2011

Back to school - Office art geometry

Let's start off with the following observation- the following two shapes have the same Left and Top...

Date: 10/31/2011

Using DDE in C# for Office automation

Looking for some code samples how to pass DDE messages from a .NET program I found out that...

Date: 07/26/2011

Using .NET library in VBA

Three easy steps for exporting .NET functionality to VBA: 1. Write a source file: using System;...

Date: 06/01/2011

Recovering the pictures from a PPT file

The PPT file format is very well documented as per Microsoft’s Open Specification Promise....

Date: 05/13/2011

Complex editing of XLSX files

Editing Excel OpenXML documents using the OpenXML 2.0 SDK offers better performace and improved...

Date: 04/29/2011

Indenting XML files

The operation of indenting XML files is pretty trivial when using the classes from the System.XML...

Date: 03/17/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....

Date: 03/14/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...

Date: 02/25/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...

Date: 02/11/2011

XML Highlight in RichTextBox

Recently I’ve been looking for some piece of code that would perform XML highlighting in a...

Date: 01/31/2011

Create metafile from icon and label

Going further on the Windows Metafile problematic from a previous post, I’ve created a sample...

Date: 12/22/2010

DLL Injection

In a previous post, I was discussing the idea of adding more events to Excel by adding a window...

Date: 10/22/2010

EMF+ Untangled

A common belief regarding the EMF format, at least as it appears by browsing technical blog posts,...

Date: 08/23/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...

Date: 06/03/2010

OpenDoc tool unveiled

After the previous blog posts with the OpenDoc tool, I’ve learned that, while this tool can be...

Date: 06/02/2010

OpenDoc tool reloaded

In a previous post, I described a tool for editing OpenXML documents from a managed context. I've...

Date: 04/02/2010

Working with OpenXML documents

The default format for saving Excel, Word and PowerPoint documents has luckily changed since Office...

Date: 03/08/2010

Topic This is a post that contains a tool for analyzing the external links in an Excel Workbook. The...

Date: 03/05/2010

Collecting crash dumps

Introduction This post discusses some basic techniques for collecting a crash dump. To test the...

Date: 03/01/2010

Create Smart Document solutions in .NET Framework 2.0

Creating a managed Smart Document project or Add-in for Office 2003 is a bit of a headache because...

Date: 01/10/2010

WinDBG Tutorial - Part 3

Just short piece of information about Remote Debugging. Remote Debugging actually means connecting...

Date: 09/18/2009

WinDBG Tutorial - Part 2

Items covered - Stack overflow - Stack trace (k) - Frame inspection (.frame n) Code used For this...

Date: 09/03/2009

WinDBG Tutorial - Part 1

Items covered - Attaching to process - Inspecting local variables (dv, ??) - Inspecting last error...

Date: 09/03/2009

WinDBG tutorial - Introduction

Learning Windows Debugging is a rather tedious job not necessarily due to the lack of documentation,...

Date: 09/03/2009