Browse by Tags

Changing the Desktop Wallpaper Programmatically on Windows
12 October 07 01:39 PM | john | 0 Comments   
My friend Scott asked me the other day how he might go about changing the desktop wallpaper programmatically. It's one of those things that is still buried in the native Windows Win32 API. The call you need is SystemParametersInfo and the action you need Read More...
Filed under: , , ,
Cool IE7 add-ins
24 July 07 07:47 PM | john | 0 Comments   
I have to say that Internet Explorer 7 still hasn't reached the level of functionality provided by Maxthon , but it's really close. So close in fact that I only use IE these days. The IE7Pro Add-in provides a few more cool features that are missing. Read More...
Getting accurate per thread timing on Windows
17 July 07 05:04 PM | john | 2 Comments   
If you need to accurately time operations in Windows, you're usually directed to the QueryPerformanceCounter API. This API is also neatly wrapped in .NET under the Stopwatch class. Indeed, this is this is simplest way to get reasonably accurate timings Read More...
Putting SxS errors in your face
01 May 07 09:18 AM | john | 2 Comments   
There are two schools of thought when it comes to unrecoverable software errors. One say that errors should be in your face and the other says that errors should be hidden (or at least smoothed over). It's not hard to see that the latter is a good approach Read More...
Filed under: , , , , ,
Turning Off Vista Problem Reporting
16 April 07 04:22 PM | john | 2 Comments   
Vista problem reporting is a great idea for end users, but it really gets in the way if you are a software developer. You know what I'm talking about right? You run your program, which then proceeds to throw an exception and now, instead of throwing up Read More...
Changing Console Fonts
12 February 07 09:13 AM | john | 2 Comments   
Got a useful link passed to me internally last week on changing your console window fonts from the standard raster and Lucida Console ones. What you can do is add your favorite TrueType fonts in this window (see the side image). To do this navigate to Read More...
Filed under: , , ,
Hmmm, is that a Vista bug I see before me?
07 February 07 10:19 AM | john | 0 Comments   
How about a little game of spot the Vista bug on this lovely February 6th morning. No, wait... Read More...
Filed under: ,