Working with File.applicationDirectory in Windows Vista fails silently and stops code execution
Solution
Avoid to copy or write data in File.applicationDirectory; use other folder to work with files.
Detailed explanation
If you have an application that works with files (copy or write) and they are in the File.application folder, you can't manipulate them in Windows Vista and your code fails silenty. Also, all code after file manipulation, doesn't execute. Use another folder when working with files.