StartMode Property
Contains a numeric value that indicates how an instance of Visual FoxPro was started. Read-only at run time.
ApplicationObject.StartMode
Remarks
Applies To: Application Object | _VFP System Variable
The following table lists the numeric values the StartMode property can contain and how the instance of Visual FoxPro was started.
Value |
Description |
---|---|
0 |
A development version of Visual FoxPro was started in an interactive session. |
1 |
Visual FoxPro was started as an application object. For example, the following command creates an instance of Visual FoxPro as an application object:
|
2 |
Visual FoxPro was started as an out-of-process .exe automation server. |
3 |
Visual FoxPro was started as an in-process .dll automation server. |
4 |
Visual FoxPro was started as a distributable .app or .exe file. |
5 |
Visual FoxPro was started as an in-process .dll automation server for multithreaded use. |
For additional information about using Visual FoxPro to create custom automation servers, see Sharing Information and Adding OLE.
See Also
Reference
SYS(2335) - Unattended Server Mode