G Guest Oct 29, 2004 #1 Hi all, I need to know how we can execute an .exe file from within a method in C#. Any help is appreciated. Thanks.
Hi all, I need to know how we can execute an .exe file from within a method in C#. Any help is appreciated. Thanks.
N Nicholas Paldino [.NET/C# MVP] Oct 29, 2004 #2 You can pass the path to the exe file to the static Start method on the Process class, and it execute the program. Hope this helps.
You can pass the path to the exe file to the static Start method on the Process class, and it execute the program. Hope this helps.
G Guest Oct 30, 2004 #3 hi this will work System.Diagnostics.Process.Start("path to exe"); regards Ansil (e-mail address removed) [Visual Basic] Public Class Process Inherits Component
hi this will work System.Diagnostics.Process.Start("path to exe"); regards Ansil (e-mail address removed) [Visual Basic] Public Class Process Inherits Component
T tonymjohn Oct 30, 2004 #4 See http://www.dotnetspider.com/technology/KBPages/847.aspx *-----------------------* Posted at: www.GroupSrv.com *-----------------------*
See http://www.dotnetspider.com/technology/KBPages/847.aspx *-----------------------* Posted at: www.GroupSrv.com *-----------------------*