Hi Doron,
Ok, I hope you don't think, I made the whole story up? :) Perhaps Ed just forgot about the message he posted couple of months (or may be year) before. It was a casual reply from him to somebody's problem and he scetched a class idea in this message. I don't remember the person, who asked the question, except for the fact, if was not the one of UT regulars...
Anyway, since neither you, nor I or Ed can find the thread or remember details, I guess, you should just follow Ed's advice.
Sorry about it.
>Well I send Ed an e-mail and that was his reply.
>
>I posted a FQ entry on retrieving the entire set of operating system
>environment variables; it has nothing to do with the VFP environment. I'd
>suggest looking at KiloFox by Akins, Kramek and Schummer - they have
>template code that demonstrates writing this sort of thing.
>
>
>>Well, I tried my best. I made 10 different attempts to find it, but I could not. Hopefully somebody else will jump or Ed just repeat his ideas. I wish I saved this info then...
>>
>>>Hi Nadya,
>>>
>>>Thanks for helping, maybe it will come to you latter<s>.
>>>
>>>Doron
>>>
>>>>Hi Doron,
>>>>
>>>>Unfortunately, it's not that easy to find. I've tried few search criteria and didn't hit it yet. Too bad, I forgot the name of the thread originator, it would be easier to find...
>>>>
>>>>>>>Hi Nadya,
>>>>>>>
>>>>>>>Ed posted a FQ entry on retrieving the entire set of operating system
>>>>>>>environment variables; it has nothing to do with the VFP environment
>>>>>>>
>>>>>>>
>>>>>>>Doron
>>>>>>>
>>>>>>
>>>>>>Doron,
>>>>>>
>>>>>>You probably didn't find the correct thread yet. I'm 99% sure, that he did it. I'll now try to find it myself, I remember, I also participated in this thread.
>>>>>
>>>>>OK maybe I missed something, but I did not see that.
>>>>>
>>>>>Thanks.
>>>>>
>>>>>>>>>Hi All,
>>>>>>>>>
>>>>>>>>>A class or a prg to save and restore all environment setup. Like if someone is writing a UDF() and change the ALIAS() , ORDER() and or a SET() of something then restore it after the initial was stored.
>>>>>>>>>
>>>>>>>>>Thanks,
>>>>>>>>>
>>>>>>>>>Doron
>>>>>>>>
>>>>>>>>Hi Doron,
>>>>>>>>
>>>>>>>>Search here for Ed Rauh's ID and setup, environment, etc. words. He posted a message couple of months ago with this class.
If it's not broken, fix it until it is.
My Blog