============================== JF Software VB Modules By Joshua Foster - JF Software http://www.jfsoftware.net joshua_70448@ureach.com June 25, 2001 ============================== ShellWait class module ====================== Description: Allows you to shell a program and wait until it is completed. Procedures: =========== ------- Execute ------- Syntax: Execute(cmdline As String) Description: Shells a program and waits until it is closed. (default) Parameters: cmdline - Path of the program to run. Example: -------- Private cShellWait As ShellWait 'Define a ShellWait object Private Sub Form_Load() Set cShellWait = New ShellWait 'Load the cShellWait object 'Run the Windows calculator and wait until it's finished. Call cShellWait("C:\Windows\calc.exe") End Sub