My application (vb.net) sometimes throws a "denied access" exception when trying to delete files in the AppData folder, and I'm not sure why.
I confirm that the file exists before trying to delete it, and did nothing to make it read-only, etc.
Interestingly, everything seems to be in order when I logged in with administrator privileges. However, I thought the AppData folder did not require administrator rights.
Any help would be greatly appreciated!
Thanks!
Dave
source share