>>>>>SYS(16) or PROGRAM() and check the extension (I'm not sure if both return the extension).
>>>>
>>>>No, this is returning the calling sequence modules.
>>>Michel,
>>> Her e is what I use in my ON SHUTDOWN routine, to determine if I am running an EXE or APP and if I am under Developement or Runtime VFP..
>>>
>>>IF RIGHT(SYS(16,0),3)="FXP" OR EMPTY(SYS(16,0)) OR VERSION(2) > 0
>>
>>Thanks, I forgot to use the parameter.
>
>
>Hi from Australia....
>
>Noticed your dialogue- might be helpful with a problem we have under VFP 5.0
>
>How do we tell when a program is running under the run time or full development version of VFP?
>
>Your message seems to imply that the VERSION function does this. If so, what syntax
>do we use to check? Not real clear from the VFP help (as always).
>
>We need this as we use components of the SDT toolkit to do automatic DBC upgrades at
>customer sites BUT this only works in a development environment
> (trashes the DBC if using runtime version).
>
>Thanks for your help.
Hi Australia
Assuming that by "SDT" you mean StoneField DataBase ToolKit, I use to use it to update a client's site almost
every week, and they were using the runtime version of VFP 5.0. I gave up SDT, because I didn't like their
framework, so I can't help much, but I can try to answer any questions about how I did it.
Bill
Bill Morris