Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path
Message
De
18/01/2008 17:38:57
 
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:
01283143
Vues:
14
>>>>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.
>
>That will work in most cases. The only way you can't have it to work is when your Images folder is not in current path :-)

That will be someone else's problem :)
*****************
Srdjan Djordjevic
Limassol, Cyprus

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

Click here to load this message in the networking platform