Category: Development

  • Microsoft Visual Studio

    Single Instance WinForm App in C# with Mutex and Named Pipes

    Overview This post shows how to create a single instance WinForm C# application using a Mutex. It also demonstrates how to send any object between instances with Named Pipes. While writing OSD Background I wanted an application that would only allow a single instance to run at any given time. In addition I wanted it…

    (Read more…)


  • UTF-8 and UTF-16 Text Encoding Detection Library

    Overview This post shows how to detect UTF-8 and UTF-16 text and presents a fully functional C++ and C# library that can be used to help with the detection. I recently had to upgrade the text file handling feature of AutoIt to better handle text files where no byte order mark (BOM) was present. The…

    (Read more…)


  • Mass Redistribute Packages in ConfigMgr 2012

    Overview Recently I came across an issue with System Center Configuration Manager (ConfigMgr) 2012 where a large number of packages and applications had failed to be distributed to a new Distribution Point (DP). There were many thousands of packages in the environment and a few hundred were showing in the error state in the console.…

    (Read more…)