Click here to Skip to main content
15,905,967 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i just test to edit my.resource.test(text file)
in hexeditor and it work and i wondering if it can go to make a program in vb.net that can edit the text like hexeditor?

images link
Before editing
Images 1
hexeditor editing
Images 2
after editing
Images 3
_

and if someone know can i/you make a program that can change my.resources.textfile in the hex editor doing please answer
i hope someone know how to do and learn me thanks.
Posted

1 solution

"learn me"?? How about "educate me".

It's going to be a LOT more than just a simple hex editor. You've going to have to figure out how resources are stored in an .EXE and move things around while maintaining the integrity of the .EXE file. You can't just move data around and expect it to magically work. The .EXE format expects things to be in very specific places as specified in the tables inside the .EXE.

If you're going to move stuff around to make room for your "edited" text, you're going to have to move other things and update the pointers to them. This is FAR from trivial.

You can start by reading the Microsoft PE and COFF Specification[^] documentation. Then you can read this[^] and figure out how to use and understand the DumpBin tool in the .NET SDK.
 
Share this answer
 
Comments
wawada 24-Aug-13 11:22am    
yes going to read the links thanks for the answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900