General information
Category:
Coding, syntax & commands
>Is there a way to determine if I'm running an EXE or PRG in code ?
>
>I'm trying to find a way for the developers to continue running the PRG, with some custom code inserted, and no custom code when the EXE is run.
>
>TIA
I use:
JustExt(Sys(16,1))
When running a Program, this will return "FXP" and when running Executable, returns "EXE". Also, returns "APP" for running a VFP application.
Hope this helps.
Don
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only