October 2008 - Posts

1
Comments

New Look? by Bil Simser

Trying out a new look. Changed the theme on the blog and created a custom header. The header is an image captured from Wordle which is a pretty neat tool. Give it a bunch of text or point it at a feed and you get a jumble of words. I pointed it at my...
Filed under:
3
Comments

NHibernate: Identity columns that are not the primary key by Bil Simser

Sometimes you need a column in your database to automatically increment (like an identity column) in order to provide back to a user say a confirmation number (when an item is added to that table). In NHibernate there's no way to specify this kind of...
Filed under: ,
0
Comments

Building an Error Icon in WPF by Bil Simser

When you launch a XBAP application you can sometimes stumble over the XBAP error page which might look something like this: Here's a WPF user control that you can drop into any application that simulates the error icon you see. It's a simple Canvas control...
Filed under: ,
1
Comments

Handling Unhandled Exceptions in XBAP Applications by Bil Simser

In your own applications you'll generally want a "catch-all" handler that will take care of unhandled exceptions. In WinForms apps this is done by creating an unhandled exception delegate and (optionally) creating an AppDomain unhandled exception handler...
Filed under: ,
1
Comments

Patterns, Practices, and Prism by Bil Simser

James Kovacs and I had the pleasure of presenting to a well fed crowd of about 150 crazed developers and IT folk at Shaw here in Calgary last night. We did a drive by discussion of Prism. I say drive by because we really just scratched the surface of...
Filed under: , ,
7
Comments

9 Options, 4 Icons, 1 MessageBox by Bil Simser

You know there are things in life that you never notice or worry about. This is one of them. The MessageBox API in Windows Forms allows you to specify message box icons to display along side your all-important message you're communicating to the user...
More Posts