Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if running exe or prg
Message
From
28/01/2003 17:04:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00746444
Message ID:
00746453
Views:
24
>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
Map
View

Click here to load this message in the networking platform