[Question] How do you run a program?

Posts 1–6 of 6 · Page 1 of 1
[Question] How do you run a program?
Like in VB, you can do
Code:
System.Diagnostics.Process.Start("File Directory/URL Link")
But how do you do it in C#?
Isn't it

Code:
System.Diagnostics.Process.Start("File Directory/URL Link");
Nope. Tried it, it had to be a process like "chrome.exe" or "explorer.exe" and I can't even open my own programs with it.
Code:
System.Diagnostics.Process.Start(@"File Directory/URL Link");
use @ before the path like Nextgen said or "//" on the bars
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us