>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?