RunApp Method

Starts another application.

System.RunApp(Target, Parameters, StartIn, Show)

Client support

   Newlook Smartclient only.

Arguments

Target - (String, Required)

A string value specifying the path and name of the application to run. If only the program name is specified, then Windows searches for the file using the default PATH environment variable. If a document file is specified, and Windows has a registered program to handle the specified file extension, the handling program will be executed using the document file name as the passed argument.

Parameters - (String, Required)

A string value specifying any optional command line parameters to use for the application. Specify an empty string if there are no parameters.

StartIn - (String, Required)

A string value specifying the directory in which the application should be started. Specify an empty string if this argument is not relevant.

Show - (Integer, Required)

A constant that specifies the initial display mode for the application.

Refer to Show constants for the values that can be used with this argument.

Returns

The RunApp method returns a boolean value.  It returns True if the method completed successfully.  Otherwise, it returns False.

Applies To

System object

See Also

AppActivate method | RunApp Action


© 2004-2021 looksoftware. All rights reserved.