| METHOD | RUNWIN |
| OBJECT | Name of the file to execute |
| PARAM1 | Command line parameters |
| PARAM2 | Show value | 0 | Hide | | 1 | Normal | | 2 | Show Minimised | | 3 | Show Maximised | | 4 | Show No Activate | | 5 | Show | | 6 | Minimise | | 7 | Show minimised no activate | | 8 | Show NA | | 9 | Restore |
|
| PARAM3 | Operation to perform ("open", "print" or "explore") |
| PARAM4 | Name or Handle of the owning window. This parameter may be null |
| PARAM5 | Returns the instance handle of the executed application |
| ERRORTEXT | Any error message |
| | |
| Description | Permits the opening, printing or exploring (based on the contents of Param3) of any file passed in Object, using the command line parameters passed in Param1. The initial state of the executed window is controlled by the contents of Param2. The handle of the calling window is passed in Param4 and the instance handle of the executed application is returned in Param5. |