المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : C# run a process



C# Programming
02-19-2013, 06:58 AM
I working with C# 2008 and 2012 windows applications that need to call different executables.
Are there other ways to call theses processes besides the way I have the code listed below:
Process eProcess1 = new Process(); eProcess1.StartInfo.FileName = strConsoleApp********; Process1_Arguments = " 10 " + kgID; eRPT_Process1.StartInfo.Arguments = Process1_Arguments; eRPT_Process1.Start();If there are other ways to start a process, can you write the code and/or point me to a reference that
will display other ways that an executable can be run from C# code?