[02/03] How to increase the access privilages of the VB.Net applications?
I was trying to run a modified Tree View control. When I gave the root node as F:\ I got the following exception.
An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
Additional information: Access to the path "f:\System Volume Information" is denied.
What should I do?
Re: [02/03] How to increase the access privilages of the VB.Net applications?
Can you normally access F:\?
Re: [02/03] How to increase the access privilages of the VB.Net applications?
Yes I can. I am logged in from the administrator account.
I guess it has something to do with the system folders because I can't see that folder in my F:\ even when I have checked the "View hidden files and folders". Also on giving E:\ as Root Folder I got this exception
Code:
An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
Additional information: Access to the path "e:\b82e09d0f48bab676b\update" is denied.
The User Control is using FileInfo and Directory info to get all the folders and files and add them to the Tree View as nodes.
Re: [02/03] How to increase the access privilages of the VB.Net applications?