Prototype
ShellExecute(FileName, boolWait)
Description
It executes a file and, if required, waits the end of execution.
Parameters
FileName: string that shows the file to be open as well as its path.
BoolWait: true or false logical value, if boolWait is true, it waits the end of application.
Returned value
None.
Notes
None.
Example
// It reproduces the audio file in asynchronous way just once
PlaySound('c:\sound\startmail.wav', False, False);
//It waits a second
Wait (1000);
//It makes an e-mail program
ShellExecute('C:\Programs\Internet\mail.exe',True);
//It executes other operations