• Windows Forms Validation

    I’ve been doing some research on best practices for validation in Windows Forms, and I came across a nice set of MSDN articles by Michael Weinhardt where he shows how to create a validation framework that is very similar to the validators found in ASP.NET (i.e. required field validator, regular expression validator, etc). It includes container and form validators that basically manage the control validators already on the form. The link to the articles is to the third article in the series, but the download contains all of the source. His code was apparently incorporated into the Genghis framework as well.

    Read more...
  • More information on yesterday's VS2005 bug

    After some severe frustration research, I was able to discover how to repro the crash in Visual Studio 2005 yesterday. It is actually quite simple to do. You need a new VB.NET project and two With statements, one nested within the other. That’s it. Then you click on the second With object.

    Read more...
  • I really like Visual Studio 2005 but...

    5+ crashes in a row is a little much.

    Read more...
  • And you thought dual SLI video cards was impressive...

    How about FOUR?!?

    Read more...
  • What happens when I search for myself?

    This may seem a little weird, but I was checking my webstats for the blog and I saw that one of the Googlebots came across it. That prompted curiosity on my part to see if I could find this page by searching for it. I didn’t find my site yet, but I sure found some other stuff.

    Read more...
  • The FileHelpers library ROCKS!

    My post earlier today referred to the FileHelpers library by Marcos Meli.

    Read more...
  • My computer hates me...

    Over a year ago, I built a new PC from the ground up. This wasn’t my first PC to build mind you. I hand-picked all of the parts and had a great time putting it together. If you’ve ever built a PC, you know the feeling of hitting the power button after hooking the final jumpers and hearing that familiar whirr as the PC boots up. Boy, is it a scare when it doesn’t do that! That’s what happened with this PC… absolutely nothing. Long story short, I got the PC to come on finally, but everytime I shut it down, it wouldn’t come back on without my resetting the CMOS by using a jumper on the motherboard. I tried replacing the CMOS battery, changing out the memory… everything. I finally found some people online in a hardware forum with a similar problem. Their solution? RMA. sigh What was MY solution? Get a Dell. Okay, okay, I’ll admit it. I chickened out. I just didn’t want to get burned again. I’m still using that Dell, too.

    Read more...
  • FileHelpers

    By way of Larkware, I came across the FileHelpers library written by Marcos Meli. It looks like a great solution for dealing with delimited or fixed length file formats. The majority of the output formats from our backend systems at work are fixed length file formats, which can be a pain to parse. I had actually written a library to parse them and reference portions of each line by name (sort of a named index to portions of a line), but this looks like a much cleaner approach. I’ll dig into this some more and post my thoughts on it.

    Read more...
  • "Tools.InstallCommunityControls" is not valid...

    I ran into that error today while attempting to install Infragistics NetAdvantage 2005. I’m not exactly sure about why the error occurred, but I was able to find a fix here (via this MSDN forum thread). Some of the other solutions appear to be reinstalling VS2005, but luckily, the registry fixes from Chetan’s blog worked fine.

    Read more...
  • "Clean Solution"

    Has anyone noticed a new menu item under the Build menu in Visual Studio 2005? There is a Clean Solution item that will remove all of the compiled binaries that live under your bin folder. It is relatively similar to Clean Sources Plus, except that it keeps the folders.

    Read more...