Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsRunningAsExe()
Message
From
19/03/1998 12:43:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00085563
Message ID:
00085717
Views:
26
>>I have some code that I want to execute in my executable MyApp.exe, but I don't want it to run during development sessions when I type DO MyApp.
>>
>>if IsRunningAsExe()
>> * Special code for exe only goes here *
>>endif
>>
>>Can anyone help with an equivalent to the missing IsRunningAsExe() function.
>
>If you're simply trying to run the code when in production and not in development, use:
>
>
>IF VERSION(2) = 0
>  * We're running the runtime version
>ENDIF
>
>
>hth,


Thanks to all. Three great answers to my problem right away.

I've just recently become a paid member on the Thread, and Its nice to have something to report back to my benefactor (employer) so soon.
Previous
Reply
Map
View

Click here to load this message in the networking platform