Skip to content

Monthly Archives: May 2009

Multiple Events Fired for File System Watcher Event

29-May-09

My FileSystemWatcher class was raising multiple events when hooked into the Changed and Created events for monitoring files today. I found out why! To debug and trigger these events I was using one of my favourite text editors, EditPlus which performed a save of my file in multiple segments, consequently raising these events more than [...]

Stretching Lambda’s Legs: Single Statement String Concatenation

28-May-09

Ok, so I wanted to name the title of this post “Simple One Line String Concatenation with Lambda“, but that didn’t happen when I found a few holes in my approach if you wish to omit your concatenation string from being shown at the end (most cases, like with comma-delimited lists). So, I have offered [...]

DataGridView Tricks #2: Set Tooltip on Individual Cell or Entire Row

26-May-09

Here’s another gem if you wish to display ancillary data in a tooltip to your users, this method can be used to display varying information dependant on which cell they have hovered over, or could be used to display a tooltip over the entire row, no matter what cell they are on. You would probably [...]

DataGridView Tricks #1: Set Hand Cursor for Entire Cell

26-May-09

I remember trying a few different solutions for this a couple of weeks ago, none of which would work enabling me to set the “Hand” cursor when hovering your mouse over a particular DataGridView row’s cell. The problem being, that a DataGridViewCell does not support the Cursor property, and a Hyperlink was not suitable as [...]

Can't Install Microsoft SQL Server 2008 Management Studio Express

24-May-09

Ok, I’m angry, and two hours of my time has gone that I will never get back. I’ve just spent the morning trying to get Microsoft SQL Server 2008 Express + Management Studio installed after a PC format. I’m running Windows 7 64-bit Ultimate (x64) and all files in question below were downloaded via the [...]

Visual Studio 2010 Beta 1 – Complete with Blurry WPF Font Rendering!

22-May-09

As you guys would know, Beta 1 of VS 2010 has been released, and I love Visual Studio, in fact it’s my FAVOURITE IDE, and not to mention one of my favourite tools of all time… and that’s why I CANNOT STRESS ENOUGH, how I’m hoping Microsoft will fix the WPF font rendering / blur [...]

Best Way to Close Form with Escape Key

21-May-09

Do you wish to allow your users to exit your application, or close a windows form when they press the Escape key? Well first of all, it may be really easy for you if you have a custom “Cancel” button already featured on the screen, as you can simply hook that additionally by the Escape [...]

Windows 7 Managed Code APIs through the “Windows API Code Pack”

20-May-09

I just stumbled across an article that might interest those wishing to perform development specific to the Windows 7 platform from a managed code environment (.NET). Windowsteamblog.com have announced a downloadable Windows API Code Pack for Microsoft .NET Framework. As  some of you may know, most Windows 7 APIs are written in native code C, C++, and [...]

Microsoft Visual Studio 2010 Beta 1 & .NET 4.0 Beta 1 Released to MSDN Subscribers

20-May-09

Wow that’s a big title, but with an even bigger announcement, both Visual Studio 2010 Beta 1 and .NET 4.0 Beta 1 has been released to MSDN subscribers Monday with public release due Wednesday (links at bottom), read on for further blog links or visit the official Microsoft launch site. (In Australia that’s today, so [...]

Edit WCF Configuration Context Menu Option Missing

07-May-09

Don’t have the “Edit WCF Configuration” when right clicking a Web.Config or App.Config when working with a WCF project? Click “Tools” -> “WCF Service Configuration Editor“. Now you do. Strange huh?

My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...