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

C#

 
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 
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 

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.