Name of the program to execute
The style of window and whether it receives the focus; see Section
Boolean indicating whether to wait for the
pathname application to finish execution
before continuing execution of subsequent code
of milliseconds to wait for the
application to terminate before the Shell
function times out
An Integer representing the Process ID, or 0
Launches another application and, if successful, returns that application’s task ID
pathname can include a drive letter. If a
drive letter is not included in
the current drive is assumed.
pathname can include a folder name. You
can use either a fully qualified path (i.e., starting from the root
directory) or a relative path (i.e., starting from the current
directory). If the folder name is not included in
pathname, the current folder is assumed.
pathname can include any command-line
arguments and switches required by the application. For example:
Shell("notepad.exe c:\data.txt", AppWinStyle.NormalFocus)
launches Notepad, which loads the file data.txt.
Visual Basic includes the following intrinsic constants for setting
New application window is hidden
Focus: New application ...