Hi Boban,
The second element of the List property (array) of the ListBox contains the directory of where the list is pointing to. Try the following:
Mypath = ListBox.List[2] + ListBox.Value
HTH,
Arriyel
THISFORM.lstINEFiles.LIST(2) + THISFORM.lstINEFiles.VALUE
>How to retreive the directory path from ListBox.Value?
>
>ListBox.Value is always only a File Name (example ListBox.Value = add.exe).
>
>I need to find out what is directory for add.exe.
>
>I have tried with FULLPATH, but it returns VFP HOME directory, not the real path of file.
Speak using soft and sweet words in case you have to eat them later.