Application Object Example

You can start another instance of Visual FoxPro from within Visual FoxPro with the following command:

oNewInstance = CREATEOBJECT('VisualFoxPro.Application')

A new instance of Visual FoxPro is not visible when it is created; the following command makes the new instance visible:

oNewInstance.Visible = .T.