Run Exe file as an Embedded Resource in C#

后端 未结 3 1094
礼貌的吻别
礼貌的吻别 2020-12-05 15:16

I have a 3rd party EXE. I just need to run this from my C# application.

My prime target is to copyright that 3rd party executable from my C# file..

Is

3条回答
  •  一向
    一向 (楼主)
    2020-12-05 15:44

    right click on ur project the solution explorer then add existing item select executable file in dialog box then go to your exe path and add your exe in your project.. then if u wanna start your exe on button click event then write this code its simple easy ...

    private void button_Click(object sender, EventArgs e)
            {
                System.Diagnostics.Process.Start("fire.EXE");
            }
    

提交回复
热议问题