How to get the .exe file run after coying from a location to another location
-
hi, i wanna ask for how to make the .exe file run automatic after finish copy it from a location to another location. the exe file will run automatic without double click on it.. thanks.. - tyrone
-
hi, i wanna ask for how to make the .exe file run automatic after finish copy it from a location to another location. the exe file will run automatic without double click on it.. thanks.. - tyrone
If you mean the exe that is your application then you can't. If you're moving an exe file within your application, then you can use the
System.Diagnostics.Process
class and it'sStart
method to start the exe.Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) -
hi, i wanna ask for how to make the .exe file run automatic after finish copy it from a location to another location. the exe file will run automatic without double click on it.. thanks.. - tyrone
Your can use your code to start it: System.Diagnostics.Process.Start(anotherlocation+filename);