Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
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 
So that tells me you are running your code on the UI thread, and if it hangs, it means
something else in your app does not survive the UI thread to be non-reponsive that long.

IMHO adding SuspendLayout/ResumeLayout (which is basically a performance optimalization)
will speed things up, but does not fundamentally solve your problem. I suspect
your app will still fail once a (much) larger number of mp3 files is present.

You could test this by inserting a Thread.Sleep(several seconds) where you now call DirSearch.

regards,

Luc Pattyn

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 
QuestionAssigning the result of an SQL ExecuteScalar() to an int? Pin
Red_Wizard_Shot_The_Food15-Jan-07 1:42
Red_Wizard_Shot_The_Food15-Jan-07 1:42 
AnswerRe: Assigning the result of an SQL ExecuteScalar() to an int? Pin
Pete O'Hanlon15-Jan-07 1:57
mvePete O'Hanlon15-Jan-07 1:57 
GeneralRe: Assigning the result of an SQL ExecuteScalar() to an int? Pin
aSarafian15-Jan-07 2:30
aSarafian15-Jan-07 2:30 
GeneralRe: Assigning the result of an SQL ExecuteScalar() to an int? Pin
Colin Angus Mackay15-Jan-07 2:48
Colin Angus Mackay15-Jan-07 2:48 
GeneralRe: Assigning the result of an SQL ExecuteScalar() to an int? Pin
aSarafian15-Jan-07 5:04
aSarafian15-Jan-07 5:04 
Questionregular expressions problem Pin
rafiki27015-Jan-07 1:05
rafiki27015-Jan-07 1:05 
AnswerRe: regular expressions problem Pin
Stefan Troschuetz15-Jan-07 3:07
Stefan Troschuetz15-Jan-07 3:07 
QuestionGeneric Dictionary: Dictionary in a Dictionary? Pin
olethroz15-Jan-07 0:33
olethroz15-Jan-07 0:33 
AnswerRe: Generic Dictionary: Dictionary in a Dictionary? Pin
aSarafian15-Jan-07 1:12
aSarafian15-Jan-07 1:12 
GeneralRe: Generic Dictionary: Dictionary in a Dictionary? Pin
olethroz15-Jan-07 9:03
olethroz15-Jan-07 9:03 
Questionchoose file dialog box Pin
ALAQUNAIBI14-Jan-07 23:18
ALAQUNAIBI14-Jan-07 23:18 
AnswerRe: choose file dialog box Pin
Christian Graus14-Jan-07 23:45
protectorChristian Graus14-Jan-07 23:45 
Question.net 2.0 - developing webservice Pin
fmardani14-Jan-07 23:17
fmardani14-Jan-07 23:17 
AnswerRe: .net 2.0 - developing webservice Pin
Christian Graus14-Jan-07 23:51
protectorChristian Graus14-Jan-07 23:51 

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.