How to modyfy the Resources in EXE file?

Explore, browse and analyze .NET assemblies

How to modyfy the Resources in EXE file?

Postby aRTx » Mon Nov 08, 2010 9:00 am

I have an application with no source code, t's not obfuscated.

I want to make a change at the reports!
I have used CrystalReports, I see that file bill.rpt at the Resources with .Net Reflector, I have extract it but now how to add that new bill.rpt at the same exe file?

If i'm wrong, can anyone suggest what to do ? pls...
Posts: 1
Joined: Mon Nov 08, 2010 8:49 am
Location: Albania


Postby haleyjason » Thu Nov 25, 2010 3:55 pm

Easiest way I've found to do that sort of thing is to use ILDasm to extract all the IL into a file and extract all the resources. Just take the resource you want to edit, edit it, put it back in the same folder you extracted all the il to and then use ILAsm to put it back together.

A simple example of the round tripping of a .net assembly (what the process I described above is called) can be found here: ... t-exe.aspx though it doesn't cover taking the resources file and converting it to an resx file so you can edit it in VS.

You can use ther Resgen.exe tool to convert the resources file to an resx file - and vice versa.
Posts: 78
Joined: Sat Oct 25, 2008 4:34 pm
Location: Seattle, WA

Return to .Net Reflector 6.x and .NET Reflector 6.x Pro

Who is online

Users browsing this forum: No registered users and 0 guests