Home > Mobile >  how do i link my windows form with .NET framework to steam without build errors
how do i link my windows form with .NET framework to steam without build errors

Time:06-08

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.enter image description here

Below I make a simple demonstration:

private void button2_Click(object sender, EventArgs e)
{
    System.Diagnostics.Process.Start(@"C:\Users\Administrator\Desktop\TEST.docx");
}

enter image description here

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:

enter image description here

  • Related