Wiki Home

Start Mode


Namespace: WIN_COM_API

_VFP.STARTMODE contains a numeric value that indicates how an instance of Visual FoxPro was started. Read-only at run time.

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:

oMyObject = CREATEOBJECT('VisualFoxPro.Application')

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.
( Topic last updated: 2008.08.26 09:22:45 AM )