Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XFRX and location of ZLIB
Message
From
25/07/2011 01:44:31
 
 
To
24/07/2011 06:12:52
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01518769
Message ID:
01519039
Views:
64
>>>Anybody run across this? Better yet, anybody found a solution?
>>
>>I keep all XFRX files (zlib included) in xfrx own folder as it was shipped and then use
>>
>>
>>cXFRX_Folder='C:\wherever_XFRX_is' 
>>set default to (cXFRX_Folder )
>>
>
>I somehow don't like this - if anything goes wrong, you're stuck in the wrong directory and your error handler isn't really in charge of restoring the working directory. Maybe if you used a setting object from Tom Rettig's envlib, which would restore the previous location during its .destroy()...

Well in my case this call is within the class method at the end of which default path is being restored. I just cut out here peace of code that invokes xfrx. So in terms of keeping up practices, yes absolutely; default path have to be restored, just like any other settings we commonly set and later restore. By now it should be u/stood without even saying :)
*****************
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