Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting Runtime vs. Development
Message
 
 
À
14/04/2003 15:46:45
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00777432
Message ID:
00777447
Vues:
8
>How can you tell if a program is running within the development environment or as a standalone EXE? I would like my code to restore the screen when exiting my app when run inside the development environment. I don't want to restore the screen (and show the attendant screen flash) if running as an executable.
>
>I tried looking at the SYS() calls but couldn't find anything. I used to be able to do it in FP DOS but I don't know how in VFP 6.
IF _vfp.StartMode = 0
  * Dev
ELSE
  * Not Dev.
ENDIF
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform