Hello!
I haven't been programming much, but dabble in it once in a while because it's fun.
But I've been stuck with this issue that I thought would be fairly easy to solve, unfortunately it doesn't seem to be that easy at all.
What I want to do is get the names of all directories, (doesn't really matter if subdirectories are included), and add them to a listbox/listview or even just to a string.
ex. I have a form1 which contains a button and a listbox.
What should I write to make the button look in "C:\work\" and add all the directories to the listbox?
Regards,
Eric Jonsson
I haven't been programming much, but dabble in it once in a while because it's fun.
But I've been stuck with this issue that I thought would be fairly easy to solve, unfortunately it doesn't seem to be that easy at all.
What I want to do is get the names of all directories, (doesn't really matter if subdirectories are included), and add them to a listbox/listview or even just to a string.
ex. I have a form1 which contains a button and a listbox.
What should I write to make the button look in "C:\work\" and add all the directories to the listbox?
Regards,
Eric Jonsson