Click here to Skip to main content
15,917,320 members
Home / Discussions / C#
   

C#

 
GeneralRe: ToolBoxBitmap Pin
Fabio Zanetta15-Jan-07 5:19
Fabio Zanetta15-Jan-07 5:19 
Questionpaint on ListView isn't working Pin
teejayem15-Jan-07 2:41
teejayem15-Jan-07 2:41 
AnswerRe: web service Pin
Guffa15-Jan-07 2:37
Guffa15-Jan-07 2:37 
QuestionI can not open new form.It gives errors in vs 2005 Pin
Member 372644115-Jan-07 1:53
Member 372644115-Jan-07 1:53 
GeneralRe: I can not open new form.It gives errors in vs 2005 Pin
Seishin#15-Jan-07 2:04
Seishin#15-Jan-07 2:04 
Questionmultithreading problem Pin
justintimberlake15-Jan-07 1:51
justintimberlake15-Jan-07 1:51 
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 

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.