Tag Archive

Microsoft Releases Roslyn Project, Open Compiler API

Published on October 22, 2011 By RobK410

This is amazing. Microsoft has made the inner workings of their IL compiler open to everyone by exposing the inner workings through an API. As the Overview describes, they’ve rewritten the IL compiler in managed code and in doing so have un-boxed the black box that was once the best IL compiler for Windows. It [...]

FindDuplicate: Find duplicate files quickly in C#

Published on September 26, 2010 By RobK410

If you’re like me, you’ve got a slew of duplicate files lurking all over your hard drive. I couldn’t find any programs for windows that would allow me to find duplicate files for free, so I decided to write this simple console application. It will take a few parameters and allow you to find files [...]

How to suppress “beep” when pressing enter

Published on September 9, 2010 By RobK410

I’m sitting here writing a chat application and needed a way to suppress the beep sound when the enter key was pressed on my text entry box. It’s a single-line Rich Text control and I had thought it was just a matter of setting KeyChar to 0 on the key press event. In fact, this [...]

GloboResource: Use Google to Translate your Visual Studio RESX strings

Published on September 4, 2010 By RobK410

There exists a need to globalize your applications but copying and pasting each string from a resource file into Google translate is tiresome. 3rd party applications are fraught with translation errors and/or are expensive. Simply put there exists a need to have a simple way to extract resource strings from RESX files and have them [...]

ProgramInfo class: Retrieving custom assembly attributes in C# for Name, Copyright, and Version

Published on August 29, 2010 By RobK410

There may exist a need to programmatically retrieve a program’s assembly attributes to provide product information to a user. This can be problematic if you are not using the System.Windows.Forms.Application library. Retrieving this information however is still possible using commands within the System.Reflection.Assembly class. I have encapsulated the most commonly used attributes in the following [...]