#6825
Support 1a
Participant

You currently need to use the Windows script host to start the process if you need to wait for the process to finish. Here’s an example:

dim oWSScript
 
  on error resume next
  set oWSScript = CreateObject("WScript.Shell")
 
  if oWSScript is nothing then    
    exit sub
  end if
 
  call oWSScript.Run("c:winntsystem32calc.exe", 0, TRUE)
 
  msgbox "Program completed"
 
  set oWSScript = nothing

I hope this helps.

Advansys Support