Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path
Message
From
18/01/2008 16:44:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Path
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01283120
Message ID:
01283128
Views:
15
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform