Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 10:03
mvePIEBALDconsult27-Feb-09 10:03 
GeneralRe: Numeric formatting question Pin
Dan Neely27-Feb-09 10:36
Dan Neely27-Feb-09 10:36 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult28-Feb-09 4:36
mvePIEBALDconsult28-Feb-09 4:36 
GeneralRe: Numeric formatting question Pin
Dan Neely27-Feb-09 7:51
Dan Neely27-Feb-09 7:51 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 7:54
mvePIEBALDconsult27-Feb-09 7:54 
AnswerRe: Numeric formatting question Pin
Luc Pattyn27-Feb-09 8:33
sitebuilderLuc Pattyn27-Feb-09 8:33 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 8:50
mvePIEBALDconsult27-Feb-09 8:50 
GeneralRe: Numeric formatting question Pin
bscaer3-Mar-09 11:02
bscaer3-Mar-09 11:02 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult3-Mar-09 12:25
mvePIEBALDconsult3-Mar-09 12:25 
AnswerRe: Numeric formatting question Pin
Ennis Ray Lynch, Jr.27-Feb-09 8:13
Ennis Ray Lynch, Jr.27-Feb-09 8:13 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 9:11
mvePIEBALDconsult27-Feb-09 9:11 
AnswerRe: Numeric formatting question [modified] Pin
PIEBALDconsult28-Feb-09 9:03
mvePIEBALDconsult28-Feb-09 9:03 
QuestionOne Assembly Versus Multiple Assemblies Pin
MarkB12327-Feb-09 6:46
MarkB12327-Feb-09 6:46 
AnswerRe: One Assembly Versus Multiple Assemblies Pin
led mike27-Feb-09 7:17
led mike27-Feb-09 7:17 
GeneralRe: One Assembly Versus Multiple Assemblies Pin
Dan Neely27-Feb-09 7:53
Dan Neely27-Feb-09 7:53 
GeneralRe: One Assembly Versus Multiple Assemblies Pin
MarkB12327-Feb-09 8:07
MarkB12327-Feb-09 8:07 
QuestionVS2005 C# error message 1)"starting a second loop on a single thread is not a valid operation" or 2)"Child list for field Authors cannot be created" (many-to-many relationship) Pin
Diana Rhoades27-Feb-09 6:44
Diana Rhoades27-Feb-09 6:44 
AnswerRe: VS2005 C# error message 1)starting a second message on a single thread or 2)"Child list for field Authors cannot be created" Pin
led mike27-Feb-09 7:27
led mike27-Feb-09 7:27 
GeneralRe: VS2005 C# error message 1)starting a second message on a single thread or 2)"Child list for field Authors cannot be created" Pin
Diana Rhoades27-Feb-09 8:40
Diana Rhoades27-Feb-09 8:40 
GeneralRe: VS2005 C# error message 1)starting a second message on a single thread or 2)"Child list for field Authors cannot be created" Pin
led mike27-Feb-09 10:35
led mike27-Feb-09 10:35 
QuestionDirectory.GetDirectories/ GetFiles Exception Pin
mirko8627-Feb-09 6:26
mirko8627-Feb-09 6:26 
AnswerRe: Directory.GetDirectories/ GetFiles Exception Pin
Luc Pattyn27-Feb-09 6:55
sitebuilderLuc Pattyn27-Feb-09 6:55 
Hi,

yes, you might not have access to all existing folders (e.g. Vista prevents accessing the "System Volume Information" folder) so you need a try-catch inside the foreach that deals with accessing the individual folders. There are other things that might go wrong too, such as the local or networked drive disappearing, the folder disappearing, etc. so you need the try-catch anyway; without it the enumeration would suddenly come to a halt.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- 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 the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


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 

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.