JavaScript Editor js editor     Web development 

Main Page

This class enables you to launch an application or document with its associated application from the current application.


System utility

Default Catalog

VisualВ FoxProВ Catalog\FoundationВ Classes\Utilities



Class Library


Parent Class





To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class on the form. You can then specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods Description

ShellExecute method

Attempts to run the file tcFileName in the directory, tcWorkDir.

Syntax: ShellExecute(tcFileName, tcWorkDir, tcOperation)

Return:В nSuccess

Arguments: tcFileName specifies the file to run.tcWorkDir specifies the path to the file to run.tcOperation specifies the operation to perform.nSuccess specifies the failure or the success of the run attempt using one of the following values:

Values over 32 represent success, and return an instance handle for the running application.

See Also

JavaScript Editor js editor     Web development