Results 1 to 10 of 10

Thread: How I append (or chance) somethings in EXE file

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    TR/World
    Posts
    8

    Red face

    How I append (or chance) somethings in EXE file.
    Pls, could you hlp me?

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    You have to make the changes in your original app and then recompile it as an exe file and replace the old exe file.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    TR/World
    Posts
    8

    Red face

    could you say me How Ican do it?

  4. #4
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    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.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    TR/World
    Posts
    8

    Talking

    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.

  6. #6
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    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
    NXSupport - Your one-stop source for computer help

  7. #7

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    TR/World
    Posts
    8

    Smile

    Thank you -dimava-

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    TR/World
    Posts
    8

    Smile

    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.

  9. #9
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    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
    NXSupport - Your one-stop source for computer help

  10. #10
    Guest
    Take a look at this example from www.planet-source-code.com. The author says you can modify any file, including exe files.






Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width