It says I have two build errors which I do not know how to fix for some reason. Please help me as I am trying to build a desktop control center for myself. It is also not linking the steam button to steam(yes, I did put steam.exe and the file path, but I get errors still.). The photo below is a photo of my code and what the application looks like.
Below I make a simple demonstration:
private void button2_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start(@"C:\Users\Administrator\Desktop\TEST.docx");
}
CodePudding user response:
When you run notepad (Start > Run > NotePad) how does the OS know that Notepad.exe lives in the System32 folder, because the C:\Windows\System32 is in the Environmental Path Variable.
Put the path where steam.exe lives in the Path: