Create your own Custom Splash Page In WPF you can really easily create a basic splash page which is just an image, but it is […]
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 […]
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 […]
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 […]
Distributed Transaction Failure – Race Condition
I have a process that is using MSDTC (Microsoft Distributed Transaction Co-ordinator) to manage the transaction. The transaction is controlled inside a c# .Net windows […]
How to run MvcMusicStore v3.0 with SQL Server Express
I’ve been trying to do the MVCMusicStore v3.0b tutorial, and I wanted to use SQLExpress rather than SqlServerCe.4.0. When trying to do this I ran […]
Setup App.Config during .msi install, msi re-installing
The Issue I wrote a windows form application that deployed via an .msi installer. The application has an App.Config file which contains a single configuration […]