>Thanks Ed!
>
>How should I get the Process.VCX Library...
Download it from the Files Section here on UT or on my web site
www.esolserv.com>
>***************
>
>It can be easier using API_APPRUN:
>
>
>SET CLASSLIB TO Process ADDITIVE
>oWinRar = CREATEOBJECT('api_apprun','winrar a -o+ bb.rar',,'MIN') && run minimized
>nSuccess = oWinRar.LaunchAppAndWait()
>nExitCode = oWinRar.CheckProcessExitCode()
>DO CASE
>CASE nSuccess = 1
> wait window 'Finished - ' + transform(nExitCode)
>CASE nExitCode = 259
> wait window 'Still running'
>OTHERWISE
> wait window oWinRar.icErrorMessage + ' - ' + transform(nExitCode)
>ENDCASE
>Burns a lot fewer cycles, is interruptible, and access exit codes