How I append (or chance) somethings in EXE file.
Pls, could you hlp me?
Printable View
How I append (or chance) somethings in EXE file.
Pls, could you hlp me?
You have to make the changes in your original app and then recompile it as an exe file and replace the old exe file.
could you say me How Ican do it?
You have to open the Project1.vbp file
Whatever name you called it (extension = .vbp)
You open it up and make your changes in it.
You then save it again.
Then you go to File and about 3/4 or the way down
you will see Make Project1.exe or if you already save it as let's say MyProg then it will say Make MyProg.exe
That makes it into a new exe and the changes you made int
the standard app will show in the new exe.
Sorry,
may be I coultn't said my ask.
My EXE is compiled file.
I want to Add (or change)some words (or others)
When working my EXE file.
i.e:
if i ask some question,
when user answer it,
I want to check answer.
I want to write my EXE file his/her answer.
Thanks.
There is a way to do this, I saw it either in an article at vbworld, or in my VBPJ magazine, I'll have to look through the magazine's (20 of them) to see if I can find it, I'll let you know as soon as I find it
Thank you -dimava-
Hi again, -dimava-
I working on a project and I want put some changable
things in my.EXE file.
You know, to be programmer is verry difficult, But I'm
not programmer I'm only a amateur. I'm developing my
personel prog. And I want to do somethings
to feel good my self.
the code is only to ADD to the exe not change whats there already, and for what you need, I would just make a file on my hard drive to save that stuff, something like this:
Code:'add 2 command buttons and a label
Private Sub Command1_Click()
Open "C:\myFile.dat" For Output As #1
Print #1, "1"
Close #1
Label1.Caption = "1"
End Sub
Private Sub Command2_Click()
Open "C:\myFile.dat" For Output As #1
Print #1, "2"
Close #1
Label1.Caption = "2"
End Sub
Private Sub Form_Load()
On Error Resume Next
Open "C:\myFile.dat" For Input As #1
Input #1, strItem1
Close #1
Label1.Caption = strItem1
End Sub
'now start your program, and click on a button. then exit your program, and when it starts, the label will say 1 or 2 depending on which button you clicked, and I will still look in the magazine for your
Take a look at this example from www.planet-source-code.com. The author says you can modify any file, including exe files.