Talk About Network

Google


Giganews Newsgroups




Programming > Programming Threads > Event modeling ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4162 of 4207
Post > Topic >>

Event modeling :: Threading

by Rasheed <sk.rasheedfarhan@[EMAIL PROTECTED] > Nov 25, 2008 at 08:55 AM

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.
 




 1 Posts in Topic:
Event modeling :: Threading
Rasheed <sk.rasheedfar  2008-11-25 08:55:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Sat Jul 4 13:56:29 PDT 2009.