Mad Props!

Omniscience is just a Google-search away.

Login

You're reading Mabsterama, the weblog of Matt Hamilton. Enjoy your stay.

Blog

RoleProvider RolePropertyDescriptor

So this next piece of the RoleProvider puzzle is a class which describes a custom property on our RoleProvider. As you recall, RoleProvider lets us add new "roles" by simply adding items to a dictionary property on the class itself. What we want to do is turn each of those "roles" into properties on...

Continue reading →

RoleProvider Class

Here's part one of how I put together our "RoleProvider" class (whose name could conceivably change down the track), the usage of which I described here . In this post I'll show you the class itself. Then in the next couple of days I'll post the helper classes that tell the Windows Forms and WPF data...

Continue reading →

CustomTypeDescriptors and WPF

In some of our existing applications here at work, we use a little trick to determine whether a user has permission to click on a button or menu item. We use Active Directory to determine if the current user is in a certain group, and enable/disable the control based on that. Today, Pete and I were discussing...

Continue reading →

Pssst! Wanna Buy a DVD Player?

We're selling our old Denon DVD-1600 player on eBay, if you're interested. We're not using it nowadays since we updated to the 1930 . Check out the auction here ....

Continue reading →

LINQ to AWDNUG

September's meeting of the Albury/Wodonga .NET User Group was all about new features in Visual Studio 2008 and the .NET framework 3.5 - specifically LINQ . Andrew led us through beta 2 of VS2008, giving a great demo of automatic properties, object initialization, extension methods, type inference, anonymous...

Continue reading →

It's Alive! ALIVE!!!

And on the third day, thanks to hardware guru Mike from work, my computer rose from the dead!!! It turns out it was just the power supply. I nipped into town at lunchtime and picked up a new Antec 500W PSU and now we're all going again! So many thanks to Mike for all his help. My withdrawal symptoms...

Continue reading →

Dead PC

Gaaah! My PC has died! It's toast! Got home from seeing Ratatouille this afternoon, and my DVD drive had locked up. I had left a DVD burning using Nero, and when I came back to it, Nero had errored, and I could no longer eject the DVD. So I attempted a restart of Windows. Problem is, Windows didn't restart...

Continue reading →

Windows Live Mail - A Nice Touch

I upgraded yesterday to the new betas from Windows Live, including the latest version of Windows Live Mail. There were the usual batch of bug fixes, performance tweaks and UI changes, but one little addition caught my eye this morning: When you select the "Junk E-mail" folder (usually to check for false...

Continue reading →

LINQ to Text

This week's episode of Hanselminutes was all about LINQ to XML - a feature of the upcoming 3.5 release of the .NET framework and associated compilers. You can read more about it here , if you aren't already all over it . Scott has talked about the concept of "languages within languages" before, and he...

Continue reading →

Quick Visual Studio Keyboard Macros

Did you know that you can record keyboard macros in Visual Studio? Let's say you've got thirty lines of similar code (maybe adding literal strings to a list or something), and you want to make a similar change (say, upper-case the first character of the string) to every line. The lines don't quite line...

Continue reading →