Click here to Skip to main content
15,911,315 members
Home / Discussions / C#
   

C#

 
QuestionDirectory.GetDirectories/ GetFiles Exception Pin
mirko8627-Feb-09 6:26
mirko8627-Feb-09 6:26 
good day people

im searching through every directory in my computer with Directory.GetDirectories and Directory.GetFiles and when it gets to folders suchs as program files or documents and settings it gives me the "Access to path ... denied" exception, i have searched and found no answer yet, so is there really no way i can get around this exception? do i have to just skip these folders or can i do something to have access to them?

thanks a lot in advance
AnswerRe: Directory.GetDirectories/ GetFiles Exception Pin
Luc Pattyn27-Feb-09 6:55
sitebuilderLuc Pattyn27-Feb-09 6:55 
GeneralRe: Directory.GetDirectories/ GetFiles Exception Pin
mirko8627-Feb-09 7:09
mirko8627-Feb-09 7:09 
AnswerRe: Directory.GetDirectories/ GetFiles Exception Pin
Luc Pattyn27-Feb-09 7:12
sitebuilderLuc Pattyn27-Feb-09 7:12 
QuestionUsing Windows Live Maps Pin
cdpace27-Feb-09 5:05
cdpace27-Feb-09 5:05 
AnswerRe: Using Windows Live Maps Pin
EliottA27-Feb-09 5:06
EliottA27-Feb-09 5:06 
GeneralRe: Using Windows Live Maps Pin
cdpace27-Feb-09 5:15
cdpace27-Feb-09 5:15 
QuestionAdd Active Directory User to Local Group Pin
svh198527-Feb-09 4:56
svh198527-Feb-09 4:56 
AnswerRe: Add Active Directory User to Local Group Pin
svh198527-Feb-09 6:04
svh198527-Feb-09 6:04 
GeneralRe: Add Active Directory User to Local Group Pin
lane0p23-Mar-09 6:28
lane0p23-Mar-09 6:28 
QuestionConverting an Octet string into a string Pin
lane0p227-Feb-09 4:52
lane0p227-Feb-09 4:52 
AnswerRe: Converting an Octet string into a string Pin
Curtis Schlak.27-Feb-09 6:10
Curtis Schlak.27-Feb-09 6:10 
GeneralRe: Converting an Octet string into a string Pin
lane0p227-Feb-09 10:39
lane0p227-Feb-09 10:39 
GeneralRe: Converting an Octet string into a string Pin
Curtis Schlak.27-Feb-09 11:39
Curtis Schlak.27-Feb-09 11:39 
GeneralRe: Converting an Octet string into a string Pin
lane0p23-Mar-09 6:24
lane0p23-Mar-09 6:24 
AnswerRe: Converting an Octet string into a string Pin
Luc Pattyn27-Feb-09 6:24
sitebuilderLuc Pattyn27-Feb-09 6:24 
Questionhow can i call this method or function in c# ? Pin
yassir hannoun27-Feb-09 4:48
yassir hannoun27-Feb-09 4:48 
AnswerRe: how can i call this method or function in c# ? urgent!! Pin
Deresen27-Feb-09 4:59
Deresen27-Feb-09 4:59 
GeneralRe: how can i call this method or function in c# ?! Pin
yassir hannoun27-Feb-09 5:09
yassir hannoun27-Feb-09 5:09 
GeneralRe: how can i call this method or function in c# ?! Pin
Deresen27-Feb-09 5:18
Deresen27-Feb-09 5:18 
GeneralRe: how can i call this method or function in c# ?! Pin
yassir hannoun27-Feb-09 6:15
yassir hannoun27-Feb-09 6:15 
AnswerThe easy way Pin
Ennis Ray Lynch, Jr.27-Feb-09 6:02
Ennis Ray Lynch, Jr.27-Feb-09 6:02 
GeneralRe: The easy way Pin
yassir hannoun27-Feb-09 6:17
yassir hannoun27-Feb-09 6:17 
QuestionReduce the resolution of a PDF Pin
abbd27-Feb-09 4:05
abbd27-Feb-09 4:05 
RantRe: Reduce the resolution of a PDF Pin
Curtis Schlak.27-Feb-09 4:08
Curtis Schlak.27-Feb-09 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.