VB.net program ends due to access denied

  • Thread starter Thread starter Jinge47
  • Start date Start date
J

Jinge47

Guest
Hi.


Today I use manual routines for backing up data from my Pc to an external disk. I have tried to make a VB program (Visual Studio 2019) to do the job for me. It works except for one thing, to find and copy outlook files (.ost).


In the manual routine I use file explorer to find those objects. But the program isn’t allowed to.


The method to look for those files is to search all folders in C:\ but that ends with an error.


Exception unhandled /System. Unauthorized Access Exception. Access denied to C:\Users\All Users\Application Data


How do I get around that stop?



Best regards

Janne

(an ordinary Swedish MS user)

Continue reading...
 
Back
Top