The directory access and Write permision using code in Vista is in blocked state. so Project working in Xp will do HELL in vista throwing access exceptions.....
to over come this add manifest file from project add new item and precombile it thus Avoid that Vista Hell....
So that we are able to pull the Vista UAC .............