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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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?