>>Look at the list when form is run. What you see is what you get. The first item in the list is the drive letter, the second is current directory, the third is separator and after that go file names. Using List collection of a listbox you can access any of them.
>
>
>That if you do not make a typo, then think it does not work, then I tried a for loop to find the actual index, but the for loop on List does not work (? or I made another typo??) so I posted what I thought it was a work-around, sigh...
>
>Just for the record, this
>
>
>for each lcValue in loLst.List
> ? lcValue
>next i
>
>
>does not work, but this works:
>
>
>for i=1 to loLst.ListCount
> ? loLst.List[i]
>next i
>
>
>I am sure is documented somewhere, but I just found out the hard way before my previous post <g>
Hi Hugo,
My mistake. The List is an array not collection and it's documented in the help for the List Property.
--sb--