473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Retreiving all folders and all files in those folders

bplacker
121 100+
I am trying to use the FolderBrowserDialog to select a folder... and from there, programatically find each folder, go into that folder, and pull out all filenames within the folder. Does that make any sense?

If someone were to select a folder such as C:\MyMusic.. I want to pull out all files within all folders under MyMusic.

I can figure out the recursive or iterative code to go into each folder, but I can't seem to figure out how to do anything other then get the path which the user selected from the FolderBrowserDialog. Is there a way to use this with the OpenFileDialog, or some other control? Any Ideas? Thanks guys,

Brian
Sep 20 '06 #1
0 1250

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: bb | last post by:
Would anyone have a way to access certain Exchange public folders that contain news group emails, perform a query on the folders for keywords and return a list of those emails? Basically, I've...
2
by: Xarky | last post by:
Hi, I would like to list all the folders and files on my harddrive in two seperate parts of the window (one part for folders, other part for files). Also, when clicking one of the folders...
1
by: Mike | last post by:
Hi, In my ASP.NET application's folder, I noticed that there are some system/IIS folders that are automatically created: --> _vti_cnf --> _vti_pvt --> _vti_script --> ...
3
by: JV | last post by:
I'm trying to understand how ASP.NET creates web folders when it creates a new ASP.NET project. I am experienced with DotNet development, but not an expert on how IIS works. Or, this may be a...
3
by: Li Pang | last post by:
Hi, I wrote the following codes to read messages. They work fine for Outlook 2002 but fails for 2003. My felling it may be a bug of Outlook 2003. Anybody has experience on that? Thanks in...
1
by: semedao | last post by:
Hi all, I'm looking for some example , open source etc code that implement caching of files and folders with those requirments: 1. like every file system , I can write , read , delete etc files...
8
by: =?Utf-8?B?TWFjaw==?= | last post by:
I have created some folders and some files using VB.net 2003 and I want to delete everything after I have finished but I can't deleat the folders because there is a .lck file in each one. Thanks...
2
by: zl2k | last post by:
hi, all I am given a root folder, there are sub-folder and sub-sub-...folders under the root folders. There are also many txt files at any level of the folders. How can I automatically visit all...
1
by: alqui | last post by:
Hi, I'm actually trying to resolve a simple problem. I'm trying to build my Web site. The structure of the Web site looks like that : /Element /Element/App_Code /Element/Admin...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.