Lets say i have a combobox called cmbPath that has options of paths of different directorys, and I want to display(dir command) the contents of the selected directory in a FileListBox called dirFiles.
How do I do that, so that whenever a different path choice is made in the combobox, the respective files for that directory are displayed in the FileListBox.
I was trying stuff like:
dirFiles.Path = cmbPath.ListIndex
but didnt work
any help would be greatly appreciated.
thanks
robbaggio
How do I do that, so that whenever a different path choice is made in the combobox, the respective files for that directory are displayed in the FileListBox.
I was trying stuff like:
dirFiles.Path = cmbPath.ListIndex
but didnt work
any help would be greatly appreciated.
thanks
robbaggio