right now, im using Windows Vista..
in Windows XP, deleting a file is working with this code
But in Windows Vista, i encounter this message: Access to the path 'C:\testdelete.jpg' is denied.Code:System.IO.File.Delete("C:\testdelete.jpg")
why its happening? what is the solution for this?




Reply With Quote