Class TExecFile (unit Execfile)

Inherits from

TComponent

Constructors



Functions

function ErrorCode: LongInt;


function Execute: Boolean;


function IsWaiting: Boolean;


function StopWaiting: Boolean;


function Terminate: Boolean;

pointer to STARTUPINFO

procedure SetPriorityClass ( Value: TPriorityClass );


procedure SetWaitStyle ( Value: TWaitStyle );


procedure SetWindowStyle( Value: TWindowStyle );


Properties

property Associate : Boolean


property CommandLine : InString


property Parameters : InString


property Priority : TPriorityClass


property Wait : Boolean


property WaitStyle : TWaitStyle


property WindowStyle : TWindowStyle


Events

event OnFail : TNotifyEvent


Variables

FAss : Boolean;


FAssFDir : String;

Name of associated executable

FAssFName : String;

Parameters to send to Executable File

FCommandLine : InString;


FError : Integer;


FExitCode : Integer;


FFParams : InString;


FInstanceID : Integer;


FIsWaiting : Boolean;


FMsg : TMsg;


FOnFail : TNotifyEvent;

Wait method

FPriorityClass : TPriorityClass;


FPriorityValue : Integer;


FRCommandLine : InString;

Command Line of Executable File

FStopWaiting : Boolean;


FWait : Boolean;


FWaitStyle : TWaitStyle;


FWindowStyle : TWindowStyle;

Path of associated executable

ProcessInfo : TProcessInformation;


StartUpInfo : TStartUpInfo;

Window style for Executable File


Constructors


Functions


function ErrorCode: LongInt;


function Execute: Boolean;


function IsWaiting: Boolean;


function StopWaiting: Boolean;


function Terminate: Boolean;

pointer to STARTUPINFO


procedure SetPriorityClass ( Value: TPriorityClass );


procedure SetWaitStyle ( Value: TWaitStyle );


procedure SetWindowStyle( Value: TWindowStyle );


Properties


property Associate : Boolean


property CommandLine : InString


property Parameters : InString


property Priority : TPriorityClass


property Wait : Boolean


property WaitStyle : TWaitStyle


property WindowStyle : TWindowStyle


Events


event OnFail : TNotifyEvent


Variables


FAss : Boolean;


FAssFDir : String;

Name of associated executable


FAssFName : String;

Parameters to send to Executable File


FCommandLine : InString;


FError : Integer;


FExitCode : Integer;


FFParams : InString;


FInstanceID : Integer;


FIsWaiting : Boolean;


FMsg : TMsg;


FOnFail : TNotifyEvent;

Wait method


FPriorityClass : TPriorityClass;


FPriorityValue : Integer;


FRCommandLine : InString;

Command Line of Executable File


FStopWaiting : Boolean;


FWait : Boolean;


FWaitStyle : TWaitStyle;


FWindowStyle : TWindowStyle;

Path of associated executable


ProcessInfo : TProcessInformation;


StartUpInfo : TStartUpInfo;

Window style for Executable File