I tried to open C:\windows\ but failed due to authentication problem, could you help me please ?
I 'd like to read it into the treeview only
Thanks
Printable View
I tried to open C:\windows\ but failed due to authentication problem, could you help me please ?
I 'd like to read it into the treeview only
Thanks
i am using Vista btw
?????????? I guess no one knows the answer
Tell us which class and namespace you are using to accomplish your task.
Does reading a folder into a treeview need a special namespace ?
It sounds to me that you want him to use a class rather than that he wants himself to use a class.
This is NOT a C-Sharp issue. It is a Vista "issue".
General Users CAN NOT open the Windows Folder if AUC is enabled.
This is by design as accessing this folder can have negative consequences.
Thanks everyone for your answers
To nabeelisnabeel
I use
System.IO;
System.Diagnostics;
System.Collections;
To TheCPUWidzard
Do ou know hwo I can turn it off ?
Yes I do, but I will not post it here. UAC is a vital part of the systems security. Attempts to defeat (disable) it are NOT recommended.Quote:
Originally Posted by Chipmunk Baby
A much better quesdtion is WHY you would ever want to display the contents of that folder to a general user....