Hi Ohad,
Take a look at Q129796
(http://support.microsoft.com/support/kb/articles/Q129/7/96.ASP) which has a
section entitled "Getting the Exit Code from the Shelled Application".
Hope this helps.
Best regards,
Ade.
Quote:
> Hello evrebody!
> Is sombody know how can I get exit code from vb program?
> for example when using vbs One can quit the prog with quit # (i.e. quit 1)
> Tha caller prog can catch this number and know somthing about the running
> tesults.
> Is there any way to implement this in VB6.
> thanks
> Ohad M