Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,

I have the following issue :
==> I have 2 WPF Projects ;
==> the first project need to run first and gather some information and after it has completed his task, the second project must run and based on information from the first project need to do some specific tasks;
==> the first project must keep running, since the second project works based on new calculations he performs (the first project must somehow run in background but without its UI);

My question is : how to start and run those 2 projects in parallel ?

Thanks in advance,
Tamash
Posted
Updated 8-Jan-11 5:41am
v2

1 solution

Use the .Net Process[^] class to invoke the second app from the first.

If thats not an option, try the Windows Scheduler ...

Regards
Espen Harlinn
 
Share this answer
 
Comments
fjdiewornncalwe 8-Jan-11 13:04pm    
+5 since the OP marked the answer as correct, but didn't feel like voting. :)
Sergey Alexandrovich Kryukov 8-Jan-11 16:14pm    
Well, correct answer, of course, my 5.

If this is helping someone is a question. Sometimes a formally correct multiply the evil instead of helping... Don't you feel the whole idea of having two peer processes (not threads, not a service + application) related in this way is inherently too bad, based on huge misconseption?
Sergey Alexandrovich Kryukov 8-Jan-11 16:15pm    
Tamash, for your own sake, don't do it. Explain your real purpose and goals, you might get a better help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900