Search code examples
vb.netvisual-studio-2012embedded-resource

Editing resources of a PE file using Visual Basic


Is there any way to edit the resources of a PE (Portable Executable) file using Visual Basic, if so, how do I go about it?

If there isn't a way, could somebody point me in the direction of a Resource Editor that works from command line?

Any help will be appreciated.


Solution

  • There is a command line resource editor on Google-Code called Rescle, written in C++. Because it is open source, you have two options:

    1. Use AS IS, issue commands and parse output in your program.
    2. Build a DLL from that, and use it directly in your code.

    Also see this question on Stackoverflow, or an extract from there:

    As an alternative, there exists a paid tool, for $200+.