How to Read A Whole Directory

Jul 20, 2011 at 9:06pm
I'm trying to create a menu-strip that that will go to C:\\TNG\\Favorites. and read all the files in the directory and make that many buttons on the menu-strip. problem is, I don't know how to get the program to read every file in the directory.
Jul 20, 2011 at 10:50pm
Look up FindFirstFile and FindNextFile on MSDN. There are examples of how to do it.
Jul 21, 2011 at 12:08am
Thanks!
Topic archived. No new replies allowed.