For Each pattern In pattern_array
Do While Not sfile = ""
Me.ImageList1.ListImages.Add , , LoadPicture(sPath & sfile)
Set Me.ListView1.Icons = Me.ImageList1
Me.ListView1.ListItems.Add , , sfile, Me.ImageList1.ListImages.Count
sfile = Dir
Loop
Next
Ok, well, that won't work quite the way you think. But assuming it does, what do you then want to do with it? Are you simply trying to create your own Select Picture dialog? In which case I again refer you to my code.
Or is the problem you seek halp with how to "insert a dialog box to select dir"?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.