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 4 Topic 4163 of 4207
Post > Topic >>

Event modeling :: Threading

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

Hi All,
I am using .Net C# (C Sharp )
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 C#
function::
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.
 




 4 Posts in Topic:
Event modeling :: Threading
Rasheed <sk.rasheedfar  2008-11-25 08:59:59 
Re: Event modeling :: Threading
Rasheed <sk.rasheedfar  2008-11-25 09:03:21 
Re: Event modeling :: Threading
David Schwartz <davids  2008-11-25 14:12:54 
Re: Event modeling :: Threading
Rasheed <sk.rasheedfar  2008-11-26 06:22:21 

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:40:53 PDT 2009.