>Hi All
>Can i retrive the path or the directory i select from my listbox with rowsourcetype = 7
>I use this listbox to show Dbf files
>
>
>Ben.
Try, assuming loLst is your ListBox:
lnIndex = loLst.ListIndex
loLst.ListIndex = 2
lcCurrentDir = loLst.Value
loLst.ListIndex = lnIndex
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges