Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting if running from a .app file
Message
 
 
À
20/04/2011 12:36:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01507913
Message ID:
01507940
Vues:
58
>>>>So, what test can I use in RunningFromApp() to know if the file that is running is .app, .exe, or a manually launched prg?
>>
>>Look at:
>>
>>_VFP.Startmode
>>
>>
>>Gary.
>
>No luck... StartMode returns 0 in both cases; whether running from the .app file or from my boot.prg.

Try ASTACKINFO()
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform