Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File path of ListBox.Value
Message
 
À
22/11/2002 12:07:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00725851
Message ID:
00725958
Vues:
10
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform