Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

populate a combo boxes list with items from a folder

Status
Not open for further replies.

mmartinez74

Technical User
Nov 20, 2002
9
US
I have a resource folder full of images. Is there a way to populate the list items of a combo box with the items in this resource folder?
 
Hola,
I haven't done exactly what you're asking, but my advice would be to load "Microsoft Scripting Runtime" in references, this will give you access to the file system, from there you could do a For-each-file-in-folder loop into a recordset and set that recordset as the control source for the combobox. Let me know if it works. I think I am going to have to do this pretty soon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top