StartProject

StartProject

StartProject utility

The utility allows users to run the program MS Project, open a document (*.mpp) and possibly run a macro with parameters.
The utility StartProject (the file StartProject.exe is located in the subdirectory Bin of the installation directory) and can be run with the following parameters:

Declaration

startproject [/Q] [/I] fullMppPath [StartMacro [ param1 .. paramN ]]

Parameters

/Q

Enables writing possible errors into the log file (startproject.log) and termination the utility StartProject if any errors occur.

/I

Runs the MS Project as visible. Optional parameter.

fullMppPath

Full path to the document (*.mpp).

StartMacro

Optional name of the macro in the document, that is to be executed.

param1 .. paramN

Optional parameters of the macro StartMacro.

Description

The utility StartProject runs the MS Project. If the parameter /I is defined, the MS Project will be opened as visible. If the parameter /Q is entered, possible errors will be written into the file startproject.log and the utility StartProject will be terminated.
Then the file defined by the parameter fullMppPath will be opened and the macro StartMacro will be called with optional parameters param1 .. paramN. The macro must be implemented in the file.