|
-
April 14th, 2008, 10:21 PM
#1
Open windows folder
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
-
April 14th, 2008, 10:28 PM
#2
-
April 25th, 2008, 04:20 AM
#3
Re: Open windows folder
?????????? I guess no one knows the answer
-
April 25th, 2008, 04:57 AM
#4
Re: Open windows folder
Tell us which class and namespace you are using to accomplish your task.
-
April 26th, 2008, 09:41 PM
#5
Re: Open windows folder
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.
-
April 26th, 2008, 10:06 PM
#6
Re: Open windows folder
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.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
April 26th, 2008, 10:11 PM
#7
Re: Open windows folder
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 ?
-
April 26th, 2008, 10:24 PM
#8
Re: Open windows folder
 Originally Posted by Chipmunk Baby
\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.
A much better quesdtion is WHY you would ever want to display the contents of that folder to a general user....
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|