| Author |
Message |
aRTx
Joined: 08 Nov 2010 Posts: 1 Location: Albania
|
Posted: Mon Nov 08, 2010 10:00 am Post subject: How to modyfy the Resources in EXE file? |
|
|
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... |
|
| Back to top |
|
 |
haleyjason
Joined: 25 Oct 2008 Posts: 78 Location: Seattle, WA
|
Posted: Thu Nov 25, 2010 4:55 pm Post subject: ILDasm |
|
|
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: http://jasonhaley.com/blog/post/2004/06/06/Round-Tripping-a-simple-Net-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. http://msdn.microsoft.com/en-us/library/ccec7sz1(VS.71).aspx |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group