how run a exe on a program

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2007
Posts: 1
Reputation: tothushara is an unknown quantity at this point 
Solved Threads: 0
tothushara tothushara is offline Offline
Newbie Poster

how run a exe on a program

 
0
  #1
Apr 4th, 2007
hi :lol: friends
hey i need a help from ul..to complete my projects
can u tell me how to write a visual c#.net program to run an exe file to update its old version


thanks all
thushara
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 3
Reputation: ZeroGravity is an unknown quantity at this point 
Solved Threads: 0
ZeroGravity ZeroGravity is offline Offline
Newbie Poster

Re: how run a exe on a program

 
0
  #2
Apr 4th, 2007
Run a exe, you can use the AppDomain Class , The detail can be found in MSDN!
Last edited by ZeroGravity; Apr 4th, 2007 at 4:06 am.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 1
Reputation: pankajarya4u is an unknown quantity at this point 
Solved Threads: 0
pankajarya4u pankajarya4u is offline Offline
Newbie Poster

Re: how run a exe on a program

 
0
  #3
Apr 17th, 2007
u can run exe by this
add a namespace i.e.
System.Diagnostics
then write code
Process proc=new Process();
proc.StartInfo.FileName=exefilepath;
proc.StartInfo.Arguments=input;
proc.Start();

Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 49
Reputation: navyjax2 is an unknown quantity at this point 
Solved Threads: 1
navyjax2 navyjax2 is offline Offline
Light Poster

Re: how run a exe on a program

 
0
  #4
Sep 3rd, 2008
Code works great, thanks for posting.

-Tom
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC