Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[C#] Putting programs in your resource folder? how?

Extreme Coder - Delphi
Loyal Member
Joined
Sep 8, 2007
Messages
1,381
Reaction score
39
Is it possible to load save a exe file as a resource and launch it when you launch or press a button in your program.

e.g

Public Void Button_Clicked();
{
// runs the exe in the resource folder inside the program
}

thanks in advance
 
Newbie Spellweaver
Joined
Sep 15, 2007
Messages
9
Reaction score
0
Is it possible to load save a exe file as a resource and launch it when you launch or press a button in your program.

e.g

Public Void Button_Clicked();
{
// runs the exe in the resource folder inside the program
}

thanks in advance


Yep. You want to look up the Reflection class. Essentially you will load up the bytes into an Assembly class and then using Reflection to load the .net assembly from memory/resources. Codeproject.com has some nice example Reflection projects.
 
Back
Top