|
-
Jun 27th, 2006, 06:18 AM
#1
Thread Starter
Hyperactive Member
best way to store folder structure?
i am gathering a list of all the files and folders on my computer. i have found an extremly rapid method for getting the info into listboxes.
http://vbnet.mvps.org/index.html?cod...apicompare.htm
however, i don't want as many listboxes as folders in my app, as the routine puts subitems in a list. i have no probs harvesting a list, but i need somewhere to put all of the information.
can i create something that could be called like:
c.windows.system32.etc.
i worry about the filename "." in that possibility.
an array would be acceptable, but how could i dimension it for an unknown number of files at design time?
would i be better off with a collection?
i can make a FSO collection of all files, but i don't need all of the extra info in the file object, only the filename.
i have about 300,000 files, and FSO takes a long time to build.
any advice?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|