Queue multiple GUI updates into a single update event (C# .Net)

I’m writing a simple utility that involves scanning a hard disk and updating a display with the latest status. There are potentially many, many, many, many, MANY changes that happen to the display in very quick succession and sending an update event which triggers a screen refresh for every single state change would be an […]

Code formatter for Windows Live Writer

I stumbled across a great code formatter for Windows Live Writer today. Here’s an example, using a C# function that converts a number into a formatted file size:
public static string SizeToString(long size)
{
[…]

The power of the blog to motivate corporate, societal, and government change

This is an issue that has been discussed many times previously–so many that I won’t even bother to link to those discussions. By now it’s well-understood that blogs carry a power stronger than most in the media initially assumed possible.
Not just blogs, but the entire “Web 2.0″ phenomenon–MySpace, YouTube–the whole rotten bunch. Would Patricia […]

Code Formatter Plugin for Windows Live Writer

I stumbled across a great code formatter for Windows Live Writer today. Here’s an example, using a C# function that converts a number into a formatted file size:
public static string SizeToString(long size)
{
[…]

We can only hope…

Analyst predicts plunge in gas prices…

Tags: cars, Links/News

How to solve severe driver problems in Windows

A colleague at work recently got a second video card–a bottom of the barrel (or close to it) nVidia MX 4000 (PCI). He had an existing AGP nVidia Vanta. Well…the installation did not go well. It did something to Windows so that it consistently blue-screened during the driver load process (the progress bar moving in […]

Don’t use CArchive with native C++ type bool

I recently ran into an issue where I was trying to serialize a bool variable from a CArchive object.
Archiving it out, with this code, works fine:
//CArchive ar;bool bFill;ar << bFill;

But this code:
ar >> bFill

has problems. It compiles fine under Visual Studio 2003, but errors out under Visual C++ 6 with this error:
C2679: binary ‘>>’ : no operator defined […]

How to track savings bonds in MS Money 2007

I recently upgraded to Microsoft Money 2007, and decided to finally add in some treasury bonds that I have had for years. I couldn’t figure out, how to do it, however, until I came across this FAQ.

Tags: microsoft, money, Tips

The hidden purpose behind private web browsers and history cleaners.

Does anybody else think that the real purpose behind the big movements in privacy, hiding web browsing habits, building anonymizers, and more… is really just a movement to allow everyone to view pornography without their SO’s finding out?
Come on, perhaps there really are people in a public library who need to look up an embarrassing […]

Simple Command Mapping Infrastructure in .Net

Unlike MFC, .Net does not offer a built-in framework for message handling in WinForm applications. MFC developers, for better or worse, have a rather large mechanism that automatically maps command messages from menus, toolbars, and windows into the classes that want them.
.Net has no such all-encompassing framework, though some 3rd-party frameworks exist (perhaps I’ll go […]