Insert Html in MS Word documents

One of my clients recently asked me to generate dynamic reports from content in the database, where the content contained Html entered by him through a WYSIWYG editor from a web application. I already had a library, that allowed considerable flexibility in generating...

Token Replacement in Office documents

A common situation is to prepare invoices, etc. from information in a database. Clients usually have extremely customized invoice formats, but the data to be filled in is basically the same. This article and its related code present a new (I have searched, but could...

Recursion

Before giving any formal definition of Recursion, I will like to discuss a scenario… Browing your files on local disk is a very common task. Let us assume you have to write a procedure that performs an action (like calculating the size) on every file on your C:...