Visual Basic |
---|
Public Sub AddApplication( _ ByVal ApplicationPath As String, _ ByVal WorkingDirectory As String, _ Optional ByVal ProgramArguments As String = "", _ Optional ByVal LaunchApplication As Boolean = True, _ Optional ByVal ChildProcessRec As Boolean = True _ ) |
- ApplicationPath
- The full or relative path of the application you want to add to the list.
- WorkingDirectory
The current working folder for the application. The current working folder is used by the application to search for related files. If a working folder is not specified, the executable folder is used as the working folder.
Note: This argument is used only when LaunchApplication is True. If LaunchApplication is False, its value has no effect.
- ProgramArguments
The specified command line arguments with which to open the application.
Note: This argument is used only when LaunchApplication is True. If LaunchApplication is False, its value has no effect.
- LaunchApplication
- Specified whether to open the specified application when a record or run session begins. Default = True.
- ChildProcessRec
- Specifies whether to record and run on processes created by the specified application during the record and run session.