Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP60- Development Mode
Message
 
À
10/02/2000 16:36:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00330349
Message ID:
00330356
Vues:
21
>How do I test if I am in development mode or not? I want to execute a function only if I am NOT in development mode.
>
>Thank you in advance.

Hi Morys,

If you're using VFP 6.0 with SP3 applied, you may access the StartMode property, using this syntax:

lnStartMode = _VFP.StartMode

lnStartMode would contain a numeric value from 0 (zero) through 5. A zero value would indicate development mode, 1 indicates starting VFP as an application object, and the others indicate starting VFP either as an EXE or COM object.

HTH.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform