Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path
Message
De
18/01/2008 16:44:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Path
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01283120
Message ID:
01283128
Vues:
16
>>Dear All,
>>How do you convert
>>'..\images\MyJpg.jpg'
>>
>>Into
>>
>>'C:\MyProject\Images\MyJpg.jpg'
>>
>>TIA
>
>Why?
>I really hate hardcoded paths.
>
>lcPicture = '..\images\MyJpg.jpg'
>WAIT WINDOW [C:\MyProject\Images\]+JUSTFNAME(lcPicture)
>
Hi Boris,

I hate them as well :)
But in this case I need full path and quiet strangely ;

FullPath() does it :0)

Thank You guys.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform