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

C#

 
GeneralRe: Recursive directory search Pin
Luc Pattyn16-Jan-07 1:31
sitebuilderLuc Pattyn16-Jan-07 1:31 
GeneralRe: Recursive directory search Pin
electriac16-Jan-07 1:36
electriac16-Jan-07 1:36 
GeneralRe: Recursive directory search Pin
Luc Pattyn16-Jan-07 2:20
sitebuilderLuc Pattyn16-Jan-07 2:20 
GeneralRe: Recursive directory search Pin
Luc Pattyn16-Jan-07 2:46
sitebuilderLuc Pattyn16-Jan-07 2:46 
AnswerRe: Recursive directory search Pin
davidc2p16-Jan-07 6:03
davidc2p16-Jan-07 6:03 
GeneralRe: Recursive directory search Pin
electriac16-Jan-07 9:32
electriac16-Jan-07 9:32 
GeneralRe: Recursive directory search Pin
Luc Pattyn16-Jan-07 10:12
sitebuilderLuc Pattyn16-Jan-07 10:12 
GeneralRe: Recursive directory search [modified] Pin
electriac12-Feb-07 1:57
electriac12-Feb-07 1:57 
tutor 06 - Recursive search of directories
for download: http://www.mediafire.com/?7z5yzqgjytm[^]

Recently while writing my new MP3 player I wanted to do a recursive search of a drive to find all the MP3 files. I downloaded the code from MSN and after thinking I had a working program I discovered that the file count was incorrect. At that point I suspected that I was running to a limitation of a memory array or perhaps the list Box. With the help "Code Project" friends we solved the problem.


This code was originally was downloaded from MSDN and the code did not read properly. I want to thank Luc Pattyn for his rewrite, which works properly. I have tested this code on my .mp3 collection and it puts 17,223 in the listbBox. This is the exact number of files on the drive.

At first I thought the problem had to do with limitations in the number of lines in an array or perhaps a limitation of the listBox. To test this I created a program to write 80,000 lines of 256 characters to an array and then populate the listBox from the array. There must be an eventual limitation but I did not find it. I can't visualize a need beyond this test for my simple needs.






-- modified at 8:06 Monday 12th February, 2007
Questionhow to import a dll in Windows Service Pin
ramyasangeet15-Jan-07 19:35
ramyasangeet15-Jan-07 19:35 
QuestionSingle web form project Pin
Mohammad Daba'an15-Jan-07 19:35
Mohammad Daba'an15-Jan-07 19:35 
AnswerRe: Single web form project Pin
Christian Graus15-Jan-07 21:44
protectorChristian Graus15-Jan-07 21:44 
GeneralRe: Single web form project Pin
davidc2p16-Jan-07 6:06
davidc2p16-Jan-07 6:06 
GeneralRe: Single web form project Pin
Mohammad Daba'an16-Jan-07 19:56
Mohammad Daba'an16-Jan-07 19:56 
GeneralRe: Single web form project Pin
Christian Graus16-Jan-07 20:12
protectorChristian Graus16-Jan-07 20:12 
GeneralRe: Single web form project Pin
Mohammad Daba'an16-Jan-07 20:20
Mohammad Daba'an16-Jan-07 20:20 
GeneralRe: Single web form project Pin
Christian Graus16-Jan-07 20:31
protectorChristian Graus16-Jan-07 20:31 
QuestionDate Time Picker and Queries Pin
L Viljoen15-Jan-07 19:20
professionalL Viljoen15-Jan-07 19:20 
AnswerRe: Date Time Picker and Queries Pin
Christian Graus15-Jan-07 21:44
protectorChristian Graus15-Jan-07 21:44 
QuestionRe: Date Time Picker and Queries Pin
L Viljoen15-Jan-07 22:30
professionalL Viljoen15-Jan-07 22:30 
QuestionString / Directory Location Question Pin
Planker15-Jan-07 19:17
Planker15-Jan-07 19:17 
AnswerRe: String / Directory Location Question Pin
Planker15-Jan-07 19:46
Planker15-Jan-07 19:46 
AnswerRe: String / Directory Location Question Pin
Christian Graus15-Jan-07 21:49
protectorChristian Graus15-Jan-07 21:49 
AnswerRe: String / Directory Location Question Pin
Seishin#16-Jan-07 4:05
Seishin#16-Jan-07 4:05 
Questionquestion about bitmap mapping Pin
abstar15-Jan-07 17:31
abstar15-Jan-07 17:31 
AnswerRe: question about bitmap mapping Pin
Christian Graus15-Jan-07 17:51
protectorChristian Graus15-Jan-07 17: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.