<< Click to Display Table of Contents >> AppPlanMaker (function) |
AppPlanMaker ["Command-line parameters"]
Starts the spreadsheet program PlanMaker.
The return value is a task ID that identifies the program. Values below 32 indicate that launching the program failed.
You can pass the name of the file to be opened as a command-line parameter – for example:
AppPlanMaker "c:\Data\Table1.pmdx"
To ensure that this command does not fail, PlanMaker must be registered in the Windows Registry. If this is not the case, it is sufficient just to start PlanMaker once conventionally. The program will then automatically update its settings in the Registry.
Note: This command simply starts the PlanMaker application without establishing an OLE Automation connection. In order to make an OLE Automation connection to PlanMaker, use the GetObject function after invoking AppPlanMaker. Alternatively, you can use the CreateObject function instead of the AppPlanMaker function from the outset. In this case, PlanMaker will be launched and an OLE Automation connection will be established at the same time.
See also: AppSoftMakerPresentations, AppTextMaker, CreateObject, GetObject, Shell