Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File path of ListBox.Value
Message
 
To
22/11/2002 12:07:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00725851
Message ID:
00725958
Views:
9
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform