My Exe File is stored in Resources. Now how do i get like the path of the file to start it?
I tried something but it always didn't worked!
My Exe File is stored in Resources. Now how do i get like the path of the file to start it?
I tried something but it always didn't worked!
Possibly you have to read its bytes/in binary form from the resource, then save it to the disk - you have to specifiy the path - and call with the Process library.
byte[] exeBytes = Properties.Resources.OPKMR;
string exeToRun = @"C:\TEST\MyTestExe.exe";
Etc.
Run Exe file as an Embedded Resource in C#
Embedding an external executable inside a C# program and run it without creating new file