/ Forums / Advansys Formativ / Creating Solutions with Formativ / Run Program / Reply To: Run Program
December 22, 2003 at 2:18 pm
#6825
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