Subscribe: a geek trapped in a cool guy's body
Added By: Feedage Forager Feedage Grade B rated
Language: English
checkbox  compact framework  data binding  displaying  framework  missing net  missing  net  posts  serialization  windows  wix  wpf 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: a geek trapped in a cool guy's body

a geek trapped in a cool guy's body

Trapped online since 2004

Last Build Date: Tue, 21 Jun 2016 16:58:00 +0000


Setting properties for WiX in MSBuild

Tue, 25 Nov 2008 03:07:40 +0000

I recently had the pleasurable and painful experience of learning WiX to build a windows installer for a Windows Mobile application. The pain came first: there is quite a learning curve to both WiX and the underlying Windows Installer technology; and the documentation is a little thin on WiX 3, the latest version as I […]

CheckBox.Checked Data Binding Bug in .NET Compact Framework

Thu, 13 Nov 2008 01:57:55 +0000

Have I mentioned lately how much I like data binding, lately? I use it everywhere I can: it makes writing UI code much easier. Anyway, working on a project at work I ran into the following problem: Consider this code: this.checkBox1.DataBindings.Add("Checked", this.myBindingSource, "MyBooleanProperty", true, DataSourceUpdateMode.OnPropertyChanged); This declares a data binding on checkBox1, a CheckBox control. […]

The Missing .NET #8: Displaying Enums in Windows Forms

Tue, 11 Nov 2008 01:51:52 +0000

The .NET framework is huge, but not so huge that it does everything for everyone; there are things that they in Redmond miss or don’t do for whatever reason but is still generally applicable to many developers. So, dear reader, I present to you a series of posts on stuff I find missing in .NET, […]

Keep it DRAFT-y

Thu, 11 Sep 2008 01:19:44 +0000

The other day I was grabbing screenshots from an app I’m working on. I noticed a huge visual problem with a a list in the product: in a one-column ListView in Details view, each item’s text was truncated, as though the column’s width was just left to the default of 20 pixels (this is in […]

How to Save XAML as an Image

Wed, 03 Sep 2008 02:03:26 +0000

Here’s a quick note to self that you may enjoy. I suck at art. Didn’t use to always, but it requires too much brain power. But I’m not bad at getting WPF to draw what I want. I had a logo in mind for this site and used WPF to generate it after unsuccessfully getting […]

The Missing .NET #7: Displaying Enums in WPF

Wed, 03 Sep 2008 01:52:31 +0000

Enums are here to stay and we have to deal with them in various ways; displaying them to the user is one way they have to be dealt with. I'll give a treatment of how to display an enum in WPF in this post. You'll see that displaying them in all situations is non-trivial.

Unable to set TestContext property for my class (.NET Compact Framework)

Tue, 12 Aug 2008 12:28:21 +0000

Suppose you’re using Visual Studio 2008 and you’ve just found out that Microsoft added unit test support for the Compact Framework on devices and emulators. Neat-o! So you add one to your project thinking, this’ll be fantastic. Then it doesn’t work. You get the following cryptic error: Unable to set TestContext property for the class […]

The WPF Application Class: Overview and Gotcha

Fri, 01 Aug 2008 13:59:01 +0000

I’ve written often lately about WPF, including BabySmash posts and Missing .NET articles. I’ve decided to do a complete app using WPF. I’ve dabbled here and there with the concepts, but I’ve decided I don’t really know the framework that well. I still have to look up how to do something basic like master-detail data […]

Exporting Blog Posts from Subtext in BlogML

Wed, 16 Jul 2008 18:48:30 +0000

I’ve recently been asked for more detail on how I extracted my blog posts from Subtext. I hacked my solution together in a few nights of hacking. Once I got it working, I completely flushed all memory of what I did. But I was asked a whole two times, dear readers! With that overwhelming curiosity, […]

The Missing .NET #6: Version Tolerant Serialization

Mon, 07 Jul 2008 18:27:23 +0000

In .NET 1.1, serialization (binary serialization, to be clear) is a bit hairy when you're successful enough to ship multiple versions of your product and you don't consider versioning until the first bug report about serialization problems. Changing the type, by either adding or removing fields, in .NET 1.1 causes previous versions of your type to lose their mind. The only way to deal with it was to implement ISerializable, which is fraught with problems, not the least of which is it makes you entirely responsible for serialization and deserialization of the whole type for ever and ever. When we found this out, this mass hysteria gripped us, so every serializable type had to implement ISerializable, even it were new to the next version, which is now a maintenance nightmare. We also got sloppy and applied the same boilerplate serialization code to every type. So we didn't handle it well, but you didn't really have a choice in .NET 1.1.