Dark Slipstream Posted May 12, 2009 Report Posted May 12, 2009 (edited) Removed. Edited August 17, 2009 by Dark Slipstream
Lakar Posted May 12, 2009 Report Posted May 12, 2009 If you are trying to execute a .exe file. All you have to do is Process.Start("C:\\example\\Documents\\Visual Studio 2008\\Projects\\example\\example.exe"); Note : This will not work without "using System.Diagnostics;", if you don't have this in your form, it will not recognize Process. -Lakar
Dark Slipstream Posted May 12, 2009 Author Report Posted May 12, 2009 Thanks for specifying what was already used above xD. But seriously, good idea pointing out that System.Diagnostics is required, unless you add it to the top of your program.
Lakar Posted May 12, 2009 Report Posted May 12, 2009 Thanks for specifying what was already used above xD. But seriously, good idea pointing out that System.Diagnostics is required, unless you add it to the top of your program. They both do the same thing overall, just different ways of writing them. -Lakar
dschu012 Posted May 16, 2009 Report Posted May 16, 2009 (edited) You can also run the process with arguments if acceptable. Example:Process.Start("firefox.exe","-url www.ibotmodz.net"); Edited May 16, 2009 by dschu012
yungbol Posted May 16, 2009 Report Posted May 16, 2009 (edited) Dark, your c# code isn't proper. c# is case-sensitive, you have "If" it should be "if". Also, brackets should be implemented. Edited May 16, 2009 by yungbol
Dark Slipstream Posted May 16, 2009 Author Report Posted May 16, 2009 The {} aren't needed if you are only executing one line. Keep that in mind for future reference. I updated the "If" to "if". Thanks.
xX Epsilon Xx Posted May 17, 2009 Report Posted May 17, 2009 Thank you, but Sorry if this does not incorporate with this. How can u make an AIO, all in one file, like 360-reality?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now