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!
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();
Re: How to display the files in a specific folder?
yes, I'm using Windows forms. Thanks for the advice.
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?
Re: How to display the files in a specific folder?