473,325 Members | 2,860 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,325 software developers and data experts.

Checking files in folder selected by folderbrowserdialog

Hello,

Can someone help me with this problem.
I select an folder using an folderbrowserdialog. I want to check if the
selected folder
contains any files or folders. If it does, i want to check the extensions
of each file.
Afterwards i want to check each subfolder. This goes on until i've checked
each folder and file.
Thank you for your time.

--
Huahe
Sep 7 '05 #1
1 2110
A simple recursive routine which uses Directory.GetFiles will work in my
opinion.

-Atul, Sky Software http://www.ssware.com
Shell MegaPack For ActiveX & .Net - Windows Explorer Like Shell UI Controls

"Huahe" <Hu***@discussions.microsoft.com> wrote in message
news:B7**********************************@microsof t.com...
Hello,

Can someone help me with this problem.
I select an folder using an folderbrowserdialog. I want to check if the
selected folder
contains any files or folders. If it does, i want to check the extensions
of each file.
Afterwards i want to check each subfolder. This goes on until i've checked
each folder and file.
Thank you for your time.

--
Huahe

Sep 10 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: seash | last post by:
In VS200 Using the System.Windows.Forms.FolderBrowserDialog control The New Folder button is always available Set the ShowNewFolderButton property to false in code prior to cal ShowDialo...
4
by: Yves | last post by:
Hello, I have a little question. I want to make a small app that counts all the files located in a specific directory (chosen via a FolderBrowserDialog by a user). The question is: is there a...
2
by: Xavier Valdés | last post by:
Hi all, I would like to copy FILES from the clipboard to a desired folder from VB.NET. I was able to copy files (with filedrop data format) to the clipboard but I don't know how to catch this...
3
by: Erik Foreman | last post by:
I am using a folderbrowserdialog object to prowse to a folder then once in that folder I am going to have my program rename all of the files in that folder. I know the rename funchtion but I am not...
1
by: Huahe | last post by:
Hello, Can someone help me with this problem. I select an folder using an folderbrowserdialog. I want to check if the selected folder contains any files or folders. If it does, i want to check...
0
bplacker
by: bplacker | last post by:
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...
1
by: halcyon943 | last post by:
have 4 folders that I watch and need to move files from to another location. Three constraints: -Finish time. Make sure the program stops transferring files at a specific time -Number of...
1
by: Riky | last post by:
hi i have a windows application. I am select the folder or file name from the folderbrowserdialog box and to delete the folder or file i am calling the following code. Public Function...
5
by: David Veeneman | last post by:
I'm trying to implement some fairly standard behavior (or so I thought) on a FolderBrowserDialog component. double-clicking a folder in the dialog should have the same effect as selecting the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.