C#C
C#3y ago
Jana ♡

❔ Proplem in process start

im using the code :

private void button1_Click(object sender, EventArgs e)
{
string Game = @"C:/TrexLauncher (the House Of The Dead 2)/Launcher/Game/The House of The Dead 2/Hod2.exe";
Process.Start(new ProcessStartInfo { FileName = Game, UseShellExecute = true });
this.Close();
}


Hod2.exe (The House of the dead 2 game) must be opened but it only crashes ; /

but when i run the game without the button1 it works well
Was this page helpful?