Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
AnswerRe: multithreading problem Pin
Russell Jones15-Jan-07 2:47
Russell Jones15-Jan-07 2:47 
AnswerRe: multithreading problem Pin
coolestCoder15-Jan-07 3:34
coolestCoder15-Jan-07 3:34 
Questionsize of text array - limitations Pin
electriac15-Jan-07 1:49
electriac15-Jan-07 1:49 
AnswerRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 2:01
mvePete O'Hanlon15-Jan-07 2:01 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 2:06
electriac15-Jan-07 2:06 
GeneralRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 2:18
mvePete O'Hanlon15-Jan-07 2:18 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 2:47
electriac15-Jan-07 2:47 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 2:58
electriac15-Jan-07 2:58 
This is the function that is writing the array. It writes to a file the complete list but aborts at 16900 when writing to an array.

void DirSearch(string sDir)
{
try
{
foreach (string d in Directory.GetDirectories(sDir))
{
foreach (string f in Directory.GetFiles(d, "*.mp3"))
{
listBox1.Items.Add(f);
arrText.Add(f);
}
DirSearch(d);
}
}
catch (System.Exception excpt)
{
Console.WriteLine(excpt.Message);
}
}

By the way how do you get your code snippets to appear as they do in your messages?

I am an old timer that started with Cobol and a lot of this is new to me.

GeneralRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 3:07
mvePete O'Hanlon15-Jan-07 3:07 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 3:14
electriac15-Jan-07 3:14 
GeneralRe: size of text array - limitations Pin
Dan Neely15-Jan-07 3:23
Dan Neely15-Jan-07 3:23 
GeneralRe: size of text array - limitations Pin
J4amieC15-Jan-07 3:13
J4amieC15-Jan-07 3:13 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 3:19
electriac15-Jan-07 3:19 
GeneralRe: size of text array - limitations Pin
J4amieC15-Jan-07 3:34
J4amieC15-Jan-07 3:34 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 3:37
electriac15-Jan-07 3:37 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 3:34
electriac15-Jan-07 3:34 
GeneralRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 3:21
mvePete O'Hanlon15-Jan-07 3:21 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 3:44
electriac15-Jan-07 3:44 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 11:04
electriac15-Jan-07 11:04 
GeneralRe: size of text array - limitations Pin
Luc Pattyn15-Jan-07 3:55
sitebuilderLuc Pattyn15-Jan-07 3:55 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 4:47
electriac15-Jan-07 4:47 
GeneralRe: size of text array - limitations Pin
Luc Pattyn15-Jan-07 4:53
sitebuilderLuc Pattyn15-Jan-07 4:53 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 5:02
electriac15-Jan-07 5:02 
AnswerRe: size of text array - limitations Pin
mihksoft15-Jan-07 20:57
mihksoft15-Jan-07 20:57 
GeneralRe: size of text array - limitations [modified] Pin
electriac15-Jan-07 21:09
electriac15-Jan-07 21: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.