IShellExecuteInfo.WaitTimeout

Fore Syntax

WaitTimeout: Integer;

Fore.NET Syntax

WaitTimeout: Int32;

Description

The WaitTimeout property determines the amount of time that the program will wait for the running application to complete its work.

Comments

WaitTimeout is taken into account if the IShellExecuteInfo.WaitToTerminate property is set to True. By default, the WaitTimeout property is set to -1, and the waiting lasts for indefinite time. The current application is available again when the time is expired if any time is set in the WaitTimeout property.

Value of the WaitTimeout property is specified in milliseconds.

Fore and Fore.NET Examples

The property use is given in the example for IShellExecuteInfo.Parameters.

See also:

IShellExecuteInfo