Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsRunningAsExe()
Message
De
19/03/1998 12:43:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00085563
Message ID:
00085717
Vues:
30
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform