run exe from resources without extract it ??

yossiz

New member
Joined
Oct 22, 2008
Messages
2
Programming Experience
Beginner
hello

let's say i was add some exe file to the project's resources.
now if i want to run that file, i have to extract it from the resources as a new file and then i can run it for example with diagnostics.process.start("PathToFile") .

my question is if there is a way to run that file without extracting it as new file
but instead directly from the memory ?

BTW: i know about the "assembly.load" but it's not help me cause it's works only with exes which have a manifest...
 
Last edited:
let's say i was add some exe file to the project's resources.
now if i want to run that file, i have to extract it from the resources as a new file and then i can run it for example with diagnostics.process.start("PathToFile") .
That's how it's done, it can only run as a file on the system. What I do is extract it to a temp file then delete the temp file when it's done running.
 
Back
Top