zendog1960
Member
- Joined
- Jan 9, 2008
- Messages
- 19
- Programming Experience
- Beginner
Morning all!
I have a winform that has one combobox. I want to populate that it with a list of folders in a directory. I thought this might be a common thing but I have not found any thing concerning this.
For this example lets say the root folder is C:\Testing\Folder List\
In the folder "Folder List" directory there are 5 folders as such:
Folder 1
Folder 2
Folder 3
Folder 4
Folder 5
I would like the combobox to reflect the names of the folders, i.e Folder 1 thru Folder 5. This must be somewhat dynamic in that users may create and delete folders in the "Folder List" folder daily so at runtime this needs to go get the current list from the location.
I for the life of me cannot find anything to help me with this. Keep in mind I am learning all this as I go so be gentle!
Thank you all for your quick responses and help!
I have a winform that has one combobox. I want to populate that it with a list of folders in a directory. I thought this might be a common thing but I have not found any thing concerning this.
For this example lets say the root folder is C:\Testing\Folder List\
In the folder "Folder List" directory there are 5 folders as such:
Folder 1
Folder 2
Folder 3
Folder 4
Folder 5
I would like the combobox to reflect the names of the folders, i.e Folder 1 thru Folder 5. This must be somewhat dynamic in that users may create and delete folders in the "Folder List" folder daily so at runtime this needs to go get the current list from the location.
I for the life of me cannot find anything to help me with this. Keep in mind I am learning all this as I go so be gentle!
Thank you all for your quick responses and help!