הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Question
Wednesday, December 17, 2008 11:08 AM
Hi..
If I open any exe file by notepad I can see the strings of labels and buttons, and also I can change these strings..
But how to re saving this exe as a program after changing some of labels strings?
By notepad will save it as a text not a binary file, so how to read file like notepad in vb.net and re saving it after changing strings?
This is very small exe file created by vb6, I want to change the title and label, command text, and also the msgbox text:
http://sseerraajj.googlepages.com/Project11.exe
Thanks..
All replies (7)
Thursday, December 18, 2008 8:38 AM ✅Answered | 1 vote
sseerraajj,
You are trying to "decompile" a program. Typically, this is illegal; this refers to reverse engineering a program to obtain its source. If the program is open source then you are free to obtain the source by means of visiting the open source site.
However, there is a program that will do the small changes like you want "title and lable, command text". It is called PE Explorer. I have used it myself when I deleted the source code of a program I made a while back. It works well. You can obtain the program here: http://www.heaventools.com/
I hope that helps. Let me know if it works out for you.
Best Regards,
Adjutor
Thursday, December 18, 2008 12:49 PM ✅Answered
Adjutor is right. You cannot just edit compiled code using Notepad or Visual Studio - you would have to edit it in binary - commonly called hex mode. This would be non-trivial for someone without experience in this area. I haven't tried the program he suggests, but it sounds like maybe it would get you through.
Good luck.Thanks,
Corey Furman
Code Slabs
______________________________________________________
Please mark posts as answer or helpful when they are.
Wednesday, December 17, 2008 1:05 PM | 1 vote
This isn't a VB6 forum and you aren't asking a VB.Net question, so this isn't the best place to get an answer.
Still, can we assume you don't have the source code any longer? That is the best way to do what you want to do. Beyond that, if you have no other choice, you might be able to get away with editing the EXE in "hex" mode. Notepad won't do this - I suggest Notepad++.
Good luck.Thanks,
Corey Furman
Code Slabs
______________________________________________________
Please mark posts as answer or helpful when they are.
Wednesday, December 17, 2008 9:12 PM
You might also give Visual Edlin a try - I hear that works. :PThanks,
Corey Furman
Code Slabs
______________________________________________________
Please mark posts as answer or helpful when they are.
Thursday, December 18, 2008 7:58 AM
Thank you..
My question in another wording:
How to open an EXE file by vb.net like as a notepad opens it, and how to re_save it as a binary file?
Pleases try to open any exe file by notepad to see what I mean!
I put a vb6 exe file as an example only.
I am asking this question because I want to translate a program; and I do not have its code, and its built by vb6..
I do not find any ready program to help me to do that for a vb6 exe files.
I hope you understand me.
Thank you.
Tuesday, December 23, 2008 9:14 AM
thank you..
Thursday, July 25, 2013 9:54 AM
i think its possible to get the source code of exe file but i working to make a empty program in c++ and then change any thing like make if you pressed <Escape> key the form will close and compare both of exe files by open it in visual studio not in notepad cuz VS show to u bytes.
so if u get the different between two exe files you will able to make changes to exe files.
but dont use vb.net or c#.net to create an empty program cuz when you do that visual studio add automatically framework.net to you program
i know its complicated to do that but you should try
if you want an bytes viewer to get bits or bytes of exe file just email me : issmat-sabri@outlook.com