Hi All,
I have two exe,
Second.exe will be execute only after first.exe executed successfully
(without exception),
so how will i do, ?
I need to use some event model mechanism, to accomplish this task, I
hope,
So please help me, what function I need to use and how?
Please provide sample then it would be very help full for me.
I am executing the executables through code only and I am using the
System.Diagnostics.Process.Start (Processname, Arguments) ; function
to execute.
Actually the first.exe file will set some environment, whereas
second.exe will use that environment and produce some desired output.
I need to handle the below case1:
Case1::
If the first.exe will fail to create the environment then second.exe
should not run. If the first.exe failed then it throws the exception.
please suggest me how would I control it.
Please feel free to ask any sort of information.
Regards,
Rasheed.


|