Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Crystal_Report Pin
simworld6-Feb-08 7:24
simworld6-Feb-08 7:24 
GeneralRe: Crystal_Report Pin
PIEBALDconsult5-Feb-08 13:51
mvePIEBALDconsult5-Feb-08 13:51 
GeneralReading XML attributes without knowing the element name Pin
hpjchobbes5-Feb-08 7:33
hpjchobbes5-Feb-08 7:33 
GeneralRe: Reading XML attributes without knowing the element name Pin
Le centriste5-Feb-08 7:40
Le centriste5-Feb-08 7:40 
GeneralRe: Reading XML attributes without knowing the element name Pin
hpjchobbes5-Feb-08 7:53
hpjchobbes5-Feb-08 7:53 
GeneralRe: Reading XML attributes without knowing the element name Pin
Le centriste5-Feb-08 8:37
Le centriste5-Feb-08 8:37 
GeneralDirectoryInfo.GetDirectories() Pin
PaulPrice5-Feb-08 7:21
PaulPrice5-Feb-08 7:21 
GeneralRe: DirectoryInfo.GetDirectories() Pin
Luc Pattyn5-Feb-08 7:31
sitebuilderLuc Pattyn5-Feb-08 7:31 
Hi,

the only way that works for me is by using SearchOption.TopDirectoryOnly and performing the
recursion myself, with a try-catch inside the foreach that iterates over the subdirectories at
the current nesting level.

I see no real use for SearchOption.AllDirectories because of the possible exceptions it does
not handle well.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: DirectoryInfo.GetDirectories() Pin
PaulPrice5-Feb-08 8:22
PaulPrice5-Feb-08 8:22 
GeneralRe: DirectoryInfo.GetDirectories() Pin
Jimmanuel5-Feb-08 8:05
Jimmanuel5-Feb-08 8:05 
GeneralRe: DirectoryInfo.GetDirectories() Pin
PaulPrice5-Feb-08 8:23
PaulPrice5-Feb-08 8:23 
GeneralC# App on the web Pin
Gareth H5-Feb-08 6:41
Gareth H5-Feb-08 6:41 
GeneralRe: C# App on the web Pin
Jasmine25015-Feb-08 6:54
Jasmine25015-Feb-08 6:54 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 6:59
Gareth H5-Feb-08 6:59 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 7:27
Gareth H5-Feb-08 7:27 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 8:14
Gareth H5-Feb-08 8:14 
GeneralRe: C# App on the web Pin
Jasmine25015-Feb-08 14:38
Jasmine25015-Feb-08 14:38 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 22:10
Gareth H5-Feb-08 22:10 
GeneralCharacter matching Pin
netJP12L5-Feb-08 5:51
netJP12L5-Feb-08 5:51 
GeneralRe: Character matching Pin
TJoe5-Feb-08 5:56
TJoe5-Feb-08 5:56 
QuestionWhen do I need to override constructors for GetConstructor? Pin
RichardM15-Feb-08 5:41
RichardM15-Feb-08 5:41 
AnswerRe: When do I need to override constructors for GetConstructor? Pin
TJoe5-Feb-08 5:44
TJoe5-Feb-08 5:44 
GeneralRe: When do I need to override constructors for GetConstructor? Pin
RichardM15-Feb-08 5:52
RichardM15-Feb-08 5:52 
GeneralRe: When do I need to override constructors for GetConstructor? Pin
TJoe5-Feb-08 5:55
TJoe5-Feb-08 5:55 
GeneralResizing 2 dimensional array Pin
Nadia Monalisa5-Feb-08 5:10
Nadia Monalisa5-Feb-08 5:10 

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.