Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

How populate listbox with file names of picture files in a computer directory

On a form's subform I have a textbox named "txtSiteImageFolder".  The textbox contains the path to a specific folder on the computer.  For example, "C:\CompanyName\ClientName\"

Into that folder the user drag 'n drops picture files.  Then also on the subform is a listbox named "listpicturefiles".  I need to have the listbox list all of the picture files in "C:\CompanyName\ClientName\" and refresh itself every time the user places another file in the folder or removes a files from the folder.

Can this be done?  How?
Avatar of SteveL13
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveL13


I found a solution.