Calling on a form upon the completion of a task.

jmorris2k
06-19-2001, 07:47 PM
how can i execute a shell command, then show a form based on the completion of the shell command? the form should not be displayed until the window state of the shell command window is closed.

i.e.:

shell("c:\windows\calc.exe"), vbNormalFocus
frmShow.Show <----- this form should not display until calc.exe is closed

JDT
06-19-2001, 07:53 PM
Do a search in the help forum for 'ShellAndWait'

JDT

jmorris2k
06-20-2001, 01:13 PM
Thanks, JDT! I found one of your old posts and it worked perfectly.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum