• A little bit about ManualResetEvent

    I’m not sure how often people run into situations where the ManualResetEvent is needed, but I have a few times. System.Threading.ManualResetEvent provides an easy way to allow cross-thread communication and to let other threads know when something has completed. Most of the time that I’ve needed it, I have a property in a class that is loaded in another thread, but I want to prevent access to the property until it is loaded. From what I’ve seen, this is a great time to use the ManualResetEvent.

    Read more...
  • I hate corporate proxies and content filters!

    I hate corporate proxies and content filters!

    Read more...
  • Another PowerShell tip...

    I can’t help myself, PowerShell is great and I keep finding useful things to do with it. Most of what I’ve been finding is easily accomplished in other ways, but this just goes to show the power available straight from the PowerShell command prompt.

    Read more...
  • You Get What You Reward

    Has anyone ever heard that saying? One of my MBA professors said that it was the number one rule for managers. “You get what you reward.” Basically, the idea is that if you want a team to work together, then you need to reward good team behavior. It is all about recognizing what true motivation is, because the reward has to be perceived as a reward. A nice pat on the back isn’t a real reward for someone unless that pat on the back will motivate them.

    Read more...
  • Why I love PowerShell part... I don't know...

    Check out this snippet:

    Read more...
  • Partial class recommendation

    We were working with partial classes recently at work and we came up with a best practice usage for naming them, at lease for our needs, and I thought I would share it with you.

    Read more...
  • Rant on Adobe...

    I’ll apologize ahead of time… one of the features that I am (or was?) looking most forward to in Office 2007 is the ability to save as PDF. Will I ever use it? I have no idea, but I’ve really wanted to be able to do that for a long time. And then Adobe goes and messes the whole thing up. How in the world can they truthfully justify letting everyone else (Apple, OpenOffice, etc) have this feature, but Microsoft can’t?!? Give me a break! If they didn’t want companies putting this feature in, they never should have opened the format in the first place! Via this digg post, I came across this article from the Washington Post. The article states it best:

    Read more...
  • PowerShell IDE (the first IDE to use a ribbon?)

    Most of you probably are already aware of this little development, but there is a freeware IDE for PowerShell development (Scott beat me to the post…). It really is great. One of the most interesting parts about it, at least at first glance, is that it gives a first look at what an IDE might look like if it were to use Office 2007’s ribbon. Not only that, but it even has an Mac OS X styled (or ObjectDock if you’re so inclined) tool section in the bottom right.

    Read more...
  • XPath Helper

    I don’t have much experience with XPath expressions. This was further illustrated to me recently when I was attempting to use XPath to programmatically parse an MSBuild project file. Yeah… I couldn’t find anything. So, when presented with a problem, what do all programmers do? They write a program to solve the problem!

    Read more...
  • Outlook 2007 and Trusted Access

    As many of you are aware, if you attempt to access your Outlook data using some of the Outlook Interop assemblies, you’ll be seeing a security dialog informing you that something is attempting to access your emails and whether or not you will allow this. If you’re like me, you’ve run into this before and attempted to circumvent it.

    Read more...