User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 391,128 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,248 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser:
Views: 2953 | Replies: 2
Reply
Join Date: Apr 2007
Posts: 1
Reputation: tothushara is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tothushara tothushara is offline Offline
Newbie Poster

how run a exe on a program

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2006
Location: china hangzhou
Posts: 3
Reputation: ZeroGravity is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ZeroGravity ZeroGravity is offline Offline
Newbie Poster

Re: how run a exe on a program

  #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 3:06 am.
Reply With Quote  
Join Date: Apr 2007
Posts: 1
Reputation: pankajarya4u is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pankajarya4u pankajarya4u is offline Offline
Newbie Poster

Re: how run a exe on a program

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C# Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 6:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC