Feeds:
Posts
Comments

Archive for the ‘Uncategorized’ Category

I came across an interesting product bug while analyzing Watson crash dumps today. Our application was crashing due to an unhandled MissingMethodException on a background thread. Looking at the managed stack trace revealed the exception was coming from a method which uses the Dispatcher.Invoke(Delegate, params object[]) overload, added in the .NET Framework 3.5 SP1. This [...]

Read Full Post »

Embarrassingly, I just now realized Regedit supports favorites!
I’ve spent far too many seconds navigating b/w Visual Studio’s experimental and non-experimental HKCU registry settings when validating functionality. Not to mention having to remember to look in HKLM’s wow6432 node on my 64 bit machine. What a revolutionary feature

Read Full Post »

I recently needed to load an assembly into a temporary AppDomain. This assembly was being loaded from a random location in the current user’s temp directory. Since the temp directory is less secure than say Program Files, I wanted to ensure it was indeed my strongly named assembly being loaded.
After wasting a bit too much [...]

Read Full Post »

Dialog UI

 
Graphics card drivers have notoriously bad dialogs, but this one takes the cake. What’s with the red exclamation mark!
 

Read Full Post »

Oil Change

Finally a use for those old programming books.

Read Full Post »

In a previous post I created a markup extension which could be used to bind an Enum’s values to an ItemsControl. Now what if we want those values to be localized? The following is a little trick I use to solve this problem.
My translations are stored in .NET resources. When I add a resource [...]

Read Full Post »

Summer Goat

My name is Scott Alexander and this will be my third attempt at writing a blog (sounds like step 1 of a 12 step program).
I’m a software developer working for little software company in Redmond, Washington. The purpose of this blog is not entirely clear. I envision it being mainly technical but I warn you [...]

Read Full Post »