Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if running exe or prg
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00746444
Message ID:
00746450
Views:
16
>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.

Use VERSION() Function.
IF VERSION(2)==0
   MESSAGEBOX("Running at RunTime")
ELSE
   MESSAGEBOX("Developmnet")
ENDIF
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform