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

Click here to load this message in the networking platform