TheKingOfWit
Newcomer
i'm using VB.net to get a list of folders in a directory. after i do this i check for subfolders of those directories. now i don't know how many directories i'm going to get so i end up ReDimming my array through every run of my loop. is there a better way to do this? i hear ReDim is very processor intensive and the program lags a bit when it runs.
i'm trying to not have an array with 1000 positions if i only end up with 200 folders.
thanks.
i'm trying to not have an array with 1000 positions if i only end up with 200 folders.
thanks.