I figured out the following solution that seems to work.
...
strDirectory = strPath & "\"
intRC = 0
strFileName = Dir(strDirectory & "*.*")
Do While strFileName <> vbNullString
intRC = intRC + 1
fDate = Format((FileDateTime(strDirectory & strFileName)),
"mm/dd/yyyy")
With objlist
Set objItem = .ListItems.Add(, , strFileName)
objItem.ListSubItems.Add , , Nz(fDate, "")
objItem.ListSubItems.Add , , Nz(strPath, "")
End With
strFileName = Dir()
Loop
> I've been trying to figure out how to get the Active X listview control to
> display a list of files in a folder, given the path of the folder on an
[quoted text clipped - 3 lines]
> Ken Warthen
> kenwarthen@gmail.com
Maurice - 15 May 2008 08:55 GMT
Ken,
Great stuff, don't forget to put a clear statement in the beginning if you
want to start a new search...
objList.items.clear

Signature
Maurice Ausum
> I figured out the following solution that seems to work.
> ...
[quoted text clipped - 20 lines]
> > Ken Warthen
> > kenwarthen@gmail.com