Running your app elevated with UAC enabled

In my previous post about a component for file associations I described the way to do initial registration and mentioned the fact that it must be done with Administrator permissions as (especially with Default Programs) we need to put a bunch a stuff under HKEY_LOCAL_MACHINE registry key. »

A component to perform file associations

Sometimes we need to do file associations with our desktop applications so that when a user clicks on a file in the explorer it gets opened with our application. This is a common task and it is documented in MSDN so I’m not going to explain it all again. »