List of Folders

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bruce (anonymous_at_discussions.microsoft.com)
Date: 05/15/04


Date: Sat, 15 May 2004 12:06:03 -0700

Hi, Everyone!

I need to get a list of all sub-folders in a particular folder and load their names into a temporary table or an array so that I can process data in them sequentially. Does anyone have code that will do this that they are willing to share?

I already have the "browse" code written by Terry Kreft, which is great for selecting the starting folder. Just need some help taking it from there.

Thanks,
Bruce



Relevant Pages

  • Re: How to get a listbox to show all files including those in subfolders
    ... How do I get a list box to load all the files in a folder including ... the ones in the sub-folders? ... Microsoft had a nice example on their site at ...
    (microsoft.public.vb.general.discussion)
  • Re: Recursivly deleting a list of files
    ... But I still need to figure out the array. ... ts.writeline oFile & " " ... 'Print subfolders of the current folder ... >> dim fldrsFolderlist, fldr ...
    (microsoft.public.scripting.vbscript)
  • Re: loading html pages in frames
    ... >>> On the server when we click on the link we get a momentary ... the html file loads correctly in the same window. ... >>> to load it but I get the same behaviour as trying to load from the ... >>> temp->data virtual folder. ...
    (microsoft.public.inetserver.iis)
  • Classes and Arrays
    ... have created a class called "record" to store information about a folder and ... The Perms property is a dynamic array as per ... Each element in the Perms array should be another class called PermRec. ... Private Sub Class_Initialize ...
    (microsoft.public.scripting.vbscript)
  • Re: The Command event of dynamically loaded controls
    ... to load a hierarchical list of folders and files from a database and display ... I'll need to load the folder list in the first pass to wire up the ... controls and corresponding event handlers. ... > and triggers events. ...
    (microsoft.public.dotnet.framework.aspnet)