>>Hi everybody,
>>
>>Here is the our situation:
>>We have Live server, there resides working versions of all our applications+DataBases
>>We have Development server, this has the same structure, as Live, but the current working versions of all applications.
>>
>>Each developer also has its own local system, which replicates the Development server and there are supposed to be the most current versions (versions in work). (I myself found this system to be too complicated, so I usually work directly on Development server, but this is not right).
>>
>>Anyway, my question is: how can we determine, is it Live system or Development system inside the application? The simplest way which I currently implemented would be check to sys(5) (G is our Development drive). Obviously, this is not the right method, since User's could be mapped differently.
>>
>>Do you have ideas?
>>
>>Thanks a lot in advance.
>
>You mean running under the run-time library or in design mode in VFP itself? If so, look at the docs for VERSION() and _VFP.StartMode
No, both system are run under full version of VFP installed on client's machine.
All our users have VFP installed. As I said, we develop the system for our own needs. We don't distribute it.
If it's not broken, fix it until it is.
My Blog