.NET - Simple Resource String Replacer (last update: 20th of May, 2011)This editor allows you to exchange or edit strings in a resource of a compiled .NET application. JavaScript needs to be enabled in your browser for full functionality. It is programmed in PHP and lets users edit functions of an application created by any developer.Placeholder GeneratorWhat is this? How to use it?This is a small example program in C# that uses embedded resources to run. It displays the resource string "WelcomeMessage" in a message box and starts a process using the string called "WebSite" in the resource file, which is named "Resources.resx". Here you can see my configuration for the strings in the resource file.![]() You can see the two resource strings in this picture. The one named "WebSite" contains the following string: As you can see, it contains the string "Program.WebSite" (an ASCII string of 15 characters) and 985 points (=985 ASCII characters). So the string has a length of 1000 ASCII characters = 1000 bytes. (The same about the string "Program.WelcomeMessage".) When you compile your program, these 1000 bytes will be saved in your executable file. All my resource string editor does is overwriting these bytes in an already compiled .NET program by finding the identifier (unique beginning) of the value of a resource string. Overloading a string with more bytes than the string has when it is compiled is not supported yet because it causes an (unknown) error and there is no (detailled) documentation. Because it is nearly impossible to enter exactly 985 you find the Placeholder Generator on this page. You can define the maximum size of the resource value and the identifier. For this program you would use this table to edit it:
Since the start 21 executable files were delivered. |