Open one EXE before another....
Posted on 2006-05-08
I'm programming an interface to add to any EXE. The problem is, is that I don't know how to do this really. I guess you can call this an EXE wrapper? Here is the process.
1. Open existing EXE
2. Modify the EXE so that the interface that I'm programming displays first
3. Re-save the modified EXE
Here is the code I have so far. Not much code, but it really isn't a difficult one:
Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click
OpenFile.Filter = "Executable Files (*.exe) | *.exe"
txtFileName.Text = System.IO.Path.GetFileName(OpenFile.FileName)
Private Sub btnAddInterface_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddInterface.Click
<---------- What do I put here?-------------->