The Scenario When recently playing with the apps on my Chrome start page, I managed to delete the default “Google Search” App. You know the […]
How to make a Modal Dialog in WPF
The Scenario I have created a c# WPF application. The app has an “About” page that I want to show as a modal dialog. The […]
File variable naming standard
I am often working with files and I always get myself in a bit of a knot around what to name my varialbes when I […]
SSRS running count across groups
The problem You have a SSRS report which is grouping by a category. Assume you have 6 items in two groups. You want the first […]
What is the best unique computer identifier?
I have been trying to find out what is the best way to uniquely identify a computer for licensing purposes. Here are some suggestions. Computer […]
How to read computer SID on 64-bit machine
To get a unique identifier for a computer the recommended key is “ProductId” that is accessible from the following registry key – HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion. This […]
Linq for Entity Join Query – Entity Framework
The Problem You have a parent/child table structure in your database that looks like the table structure outlined below. You have used the EntityFramework or […]
ApplicationPoolIdentity find the user account
The Problem How do you find the ApplicationPoolIdentity Account? Under IIS 7 you have the ability to set the user account that the Application Pool […]
Windows Installer – Uninstall custom actions – WARNING!!!
With uninstall custom actions you have to be really careful. #1 Rule When working with uninstall custom actions, always encapsulate the custom action in a […]
Background Worker Thread Code Sample with event handlers and cross thread invoke
The Problem So you want to create a windows form application. It needs to do the following: Do some work where its processing multiple items […]