Here’s a nice neat trick to get Windows XP application to work in VISTA.

[sourcecode language=’bash’][HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers]”$path”=”WINXPSP2″[/sourcecode]

Replace $path with the absolute path to your program;

i.e.
[sourcecode language=’bash’]
c:\program files\myapp\myapp.exe
[/sourcecode]

Make sure you add double back slashes.