Need help?[HELP] Opening a .exe - MPGH - MultiPlayer Game Hacking & Cheats
[HELP] Opening a .exe
Posts 1–8 of 8 · Page 1 of 1
[HELP] Opening a .exe
Let's say I want Button3 to open a .exe,Sounds simple enough but would someone tell me.
Process.Start("C:Wherever the .exe is")
or
System.Diagnostics.Process.Start(" ^^ ")
make a new from|||||| 2x click your button and type
Code:
process.start(your proces here.exe)
and then
Code:
form2.close
Why do I need a 2nd form?
You don't need a second form.
Code:
Process.Start("File plus location")
THIS IS A BETTER ONE:
process.start(application.startuppath & "exename.exe")
the exe will start even if the folder is moved, but the exe must be in the same folder
Originally Posted by mnpeepno2
THIS IS A BETTER ONE:
process.start(application.startuppath & "exename.exe")
the exe will start even if the folder is moved, but the exe must be in the same folder
...that's a bigger problem, your assuming the Op wants to start a process that can be controlled, in most situations the developer wants to start IE, notepad, or some other application that can't be in the application folder.