You are hereMonthly archive / October 2009
October 2009
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 not find anything related to this topic, so I believe it's new), innovative, and productive way of producing dynamic Office documents. I am using the word Office in this entire document as it does not relate solely to Microsoft Office. I have tested this approach on Open Office as well, and it works.
ASP.NET Content Scroller Control
Content scrolling is a very common task on the web. This ASP.NET server-side control enables you to embed any HTML or ASP controls as its template that it can scroll vertically or horizontally in any direction with configurable scroll speed.
Due to a larger community available at CodeProject, this article together with its Source Code is available if full at:
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:
The algorithm will be something like follows:
Apply the action on all files in the root directory. Then pick up its sub-diectory & apply the action on all its files. Then pick up the sub-sub directory & continue the procedure until there's no more nested sub-directories.

