DirListBox / DirComboBox
•
30 May 2008, 10:53
•
Journals
Is it possible to get a DirListBox or a DirComboBox in VBA. I know the normal VB has a function for this, but VBA doesn't. I've already tried google, but the only helpful things are plugins, and my boss doesn't allow me to install any plugins. So that's why I'm asking, is there a way to script in this function?
Atm I have a temporary solution, I used a command in cmd to export all the foldernames to a txt file, and then import that textfile into a combobox in the program, but when I add a folder manually next to the program, it will obviously not be in the program, and that's a real big problem. I maybe can also always make a .bat file run while starting the program, but I don't know how to do that. (the bat file would be containing the export foldernames commands).
Thx in advance :)
Atm I have a temporary solution, I used a command in cmd to export all the foldernames to a txt file, and then import that textfile into a combobox in the program, but when I add a folder manually next to the program, it will obviously not be in the program, and that's a real big problem. I maybe can also always make a .bat file run while starting the program, but I don't know how to do that. (the bat file would be containing the export foldernames commands).
Thx in advance :)
so i have magic hands indeed :O)