1) You need to open a file to put the file names in. You can use FileOpen for this or your favorite file routine.
2) You will need to go through the files in the directory using FindFirst and FindNext.
3) For every file you find, put the file name into the file you created.
4) When done, use FindClose to free memory allocated by the find routines.
5) Load the file you created into the listview box.
Look at your help files for the file management routines.
If you get stuck, check back here. James P. Cottingham
I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.