Archives

Archives / 2008
  • Already Open DataReader

    Tags: .NET, SQL

    Today I was getting following error when running one of our applications: ”There is already an open DataReader associated with this Command which must be closed first.”

    This happens when … more

  • C# snippet: override Object.Equals

    Tags: .NET, C#, Snippet

    Lately I’ve been creating quite a few business entities with the ID of the object as the actual key to compare objects, which isn't the default implementation. Because of that I had to override … more

  • Code Snippet Manager

    Tags: Visual Studio

    If you have troubles finding your Code Snippet Manager in Visual Studio, here’s how to reach it and place it in your menu bar:

    Go to Tools|Customize.

    Select the Commands tab.

    In the … more

  • Make C# namespace internal

    Tags: .NET

    It’s very common that you want to hide some of your code, so that people who are using your library can’t directly use some of your classes and methods. But one step above, you have your … more

  • Pex

    Tags: Pex

    Today I ran into a nice video from Channel 9 where they showed us a tool developed by Microsoft Research: Pex. With this tool you're able to generate unit tests for every possible parameter case in … more

  • First touch of VBA

    Tags: VBA

    Yesterday my boss asked me: "Are you able to work with Office?" Since I'm not a total Office-newbie I answered: "I'm able to use it for the things I need." Very diplomatic answer, but not that I would … more

  • Missing Security tab in explorer

    Tags: Security, Windows XP

    With my first job being started about 2 weeks ago (I’m actually graduating at the end of this month, but doing nothing isn’t my favorite choice of spending time) and my new system up and … more