sorry, but busy...
with a milion of cut and paste code...
my last code:
Private Sub FILL_LISTVIEW()
Dim sfile As String
Dim sPath As String
Dim sPATTERN As String
Dim pattern_array() As String
Dim pattern As Variant
sPATTERN = "*.gif;*.bmp;*.jpg"
sPath = STRPATHIMG
pattern_array = Split(sPATTERN, ";")
sfile = Dir(sPath)
Me.ImageList1.ImageHeight = 64
Me.ImageList1.ImageWidth = 64
Me.ListView1.ListItems.Clear
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
Me.LNR.Caption = Me.ListView1.ListItems.Count
End Sub