SFQApplication.Execute

Executes an application.

public int Execute(string FileName,
	string Operation,
	string WorkingDirectory,
	string Parameters);

Return Value

The return value from ShellExecute. Values over 32 indicate success and return an instance handle for the application. Some common values are: 2: file was not found 3: path was not found 31: no application association See http://support.microsoft.com/kb/238245 for other values.

Parameters

FileName
The fully-qualified path for the application to execute, the fully-qualified path for the file to open in the associated application, a URL, etc.

Operation
The operation to perform on the file, such as "Open" (the default if this parameter isn't specified) or "Print".

WorkingDirectory
The directory to make the current one for the application.

Parameters
Additional command line parameters to pass to the application.


See also:

Class SFQApplication

© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic