Category: Programming


  • Windows 10 and lein self-install fails on Powershell – Solved

    ,

    I am starting to learn Clojure and wanted to set up Leiningen on my Windows 10 professional. Here is how I solved the Windows Security problem that was preventing me from downloading the github zip file needed. Here is hoping that someone finds this solution helpful. Using PowerShell running as Administrator, I was having trouble getting…

    Read This Post: Windows 10 and lein self-install fails on Powershell – Solved
  • Outlook Redemption (Redemption.dll) and Background Threading do not mix.

    , ,

    Outlook Redemption is a very nice library which allows access to many Outlook functions many of those not exposed via the Outlook object model. We are currently using Redemption in our application to add outlook appointments with reminders, pop email messages with pre-populated information, etc. We wrapped the Redemption.dll into our own Singleton class and…

    Read This Post: Outlook Redemption (Redemption.dll) and Background Threading do not mix.
  • ClickOnce Deployment – Deploying multiple versions of the same application

    , ,

    According to Wikipedia, ClickOnce is a Microsoft technology that enables the user base to install and run a Windows Application by clicking a link in a web page. ClickOnce is a component of Microsoft .NET Framework 2.0 and later and it supports deploying applications made with Windows Forms or Windows Presentation Foundation. ClickOnce attempts to…

    Read This Post: ClickOnce Deployment – Deploying multiple versions of the same application
  • WPF coding mutually exclusive Check Boxes with Data Binding

    , ,

    Last week I was coding a View that required for me to show two ChekBox controls which were mutually exclusive in the same way that two or more RadioButton controls that belong to the same group would interact. My problem was that one Boolean property which came from a bit column in the database needed…

    Read This Post: WPF coding mutually exclusive Check Boxes with Data Binding
  • Creating a Singleton (Instance) Class in C#

    , ,

    In application development there are various situations in which it makes sense to code a class in a manner that it can be created (instantiated) once and used throughout the lifetime of the application. Generally this type of class is called a Singleton object. When creating and object, CPU cycles are used up during the:…

    Read This Post: Creating a Singleton (Instance) Class in C#
  • Include Application Name in Connection Strings

    ,

    In addition to the SQL Server, Database, User ID and Password, you may want to include the Application Name in your connection string parameters. Application Name is an optional argument, but it can greatly help you to segregate the SQL that your application is executing from any other database calls that are being sent from…

    Read This Post: Include Application Name in Connection Strings
  • The Object-Oriented Thought Process …

    Recently I came across a book which was a recommendation from a senior colleague at work. The Object-Oriented Thought Process by Matt Weisfeld. Although the first three chapters can seem a bit basic at first glance, they help to remind ourselves and reset in our minds what a true OO approach to a given problem…

    Read This Post: The Object-Oriented Thought Process …