Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Development Mode
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00330349
Message ID:
00330356
Views:
20
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform