April 2009 Entries
I recently had the occasion to add “Single Instance” feature to a WPF application. One of the implementations previously used for this feature had a dependency on System.Windows.Forms. As a result, I decided to write up this post. Hope it helps someone. The requirements: Work with all .Net client application types (console, WinForms, WPF) Signal the running instance to the front when second instance is attempted Optionally inform the user that only one copy can be run at a time Some of the typical...
Subversion 1.6 was release a few weeks back, and I am finally getting around to installing on a server here. I plan to create a new repository with this install, importing older projects in as required. I will be installing into a virtual machine instance, since they are easier to manage and move around. Downloads I downloaded the (free) subversion components from Tigris.org: Windows Binaries (as a simple ZIP file) TortoiseSVN as an MSI installer ankhSVN as an MSI installer These files were placed...
The other day I ran across a blog post by John Robbins discussing Code Complete, by Steve McConnell. It seems that John, like myself, is quite a fan of the book. He suggests everyone in his debugging class read the book, and even suggested, somewhat tongue in cheek I suspect, that they write up a book report. Someone actually did it. An excellent writer in his own right, the book report author reminded me that it was indeed time, again, to re-read Code Complete. Just as Relevant Today Code Complete...