-
March 6th, 2012, 09:54 AM
#1
How to display the files in a specific folder?
I'm trying to make a little disk cleaner program and I couldn't figure out how to display the results of scanned directory on list view tool on windows form application. I have a 3 columns and these are File Name, Folder Path and File Size. I want the program to scan for example this location: C:\Users\Emre\AppData\Local\CrashDumps and display all of the files in that location on the list view tool. How could i do this? And how do display the file size and file location on the next 2 colomns and these other two colomns are sub items.
Thank you!
-
March 6th, 2012, 09:59 AM
#2
Re: How to display the files in a specific folder?
If you're using Windows Forms, you need to ask in a .Net forum.
If you're using MFC, look at CFileFind and CFile::GetStatus();
-
March 6th, 2012, 10:00 AM
#3
Re: How to display the files in a specific folder?
yes, I'm using Windows forms. Thanks for the advice.
-
March 6th, 2012, 10:03 AM
#4
Re: How to display the files in a specific folder?
can you give the link to .net forum. isn't there .net part in code guru?
-
March 6th, 2012, 10:04 AM
#5
Re: How to display the files in a specific folder?
Tags for this Thread
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
|