Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path
Message
 
To
18/01/2008 16:10:16
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Path
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01283120
Message ID:
01283122
Views:
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)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform