Iplement py/exe file in Windwos FormApp

Sezi0n 1 Reputation point
2021-12-07T21:38:26.6+00:00

Yoo,
So I wanted to code a loader and when I wanted to make it like you press on a button and a python file start or I jsut convert it to a exe file. And the important thing is I want to maek the loader public and thats why this doesnt work:

    private void button2_Click(object sender, EventArgs e)
    {
        System.Diagnostics.Process.Start("C:\\Users\\Oliver\\Desktop\\MoonAim\\DONT-DELETE\requirements\\lib\\config.exe");
    }

Becuase I want that everyone can open it but only with the button click and not anyhow else. I hope someone can help me.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,800 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mr Vu 1 Reputation point
    2022-01-09T04:24:02.233+00:00

    let me see

    0 comments No comments