how to compile other .exes into one .exe?

Discussion in 'Programming General' started by Calibur, Jan 16, 2011.

how to compile other .exes into one .exe?
  1. Unread #1 - Jan 16, 2011 at 4:49 AM
  2. Calibur
    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Calibur Newcomer

    how to compile other .exes into one .exe?

    newbie here,.. just started vb few days ago..

    i just want to know how to compile other files/.exe files into one .exe/form using vb 2008 or vb6.. (inshort a builtin program)

    for example i have 1 injector, 1 .dll, 1 other .exe file i want it to become one .exe file.
    my project has 2 buttons,
    then i want it, when i click the first button the injector should open then if i click the 2nd one the other .exe file should open.... (and they're all inside one .exe file)

    really need help, newbie here! please thanks!
     
  3. Unread #2 - Jan 16, 2011 at 5:50 AM
  4. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    how to compile other .exes into one .exe?

    easier to do in vb 2008,.

    open your project and select the following off the menu bar:
    Project > Add existing file. then change the file types to .exe and select your file.

    Then in the solution manager set the build property of your recently added file to "Embedded Resource".

    That is how you would combine it into your project, as for running it i have no idea.

    But your could try:
    Code:
    System.Diagnostics.Process.Start(GetType(CLASSNAME),"EXENAME.EXE")
    Classname is the name of your class, and EXENAME.EXE is the name of the .exe that you embedded.

    PS sounds like your making something malicious ;)
     
  5. Unread #3 - Jan 16, 2011 at 10:40 PM
  6. Calibur
    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Calibur Newcomer

    how to compile other .exes into one .exe?

    Thanks man!! i'll try it out ... :)
    so the button code will be look like this?
    Code:
     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            System.Diagnostics.Process.Start(GetType(CLASSNAME),"EXENAME.EXE")
        End Sub
    btw, nothing malicious i just wanna try to make a multi tools like, injectors, clean prefetch, etc. hehe
     
  7. Unread #4 - Jan 17, 2011 at 1:02 AM
  8. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    how to compile other .exes into one .exe?

    Yes, but don't forget to rename Classname and the .exe.
    Also i have my doubts that it will work, you may want to try asking these guys they are pretty damn good - http://www.vbforums.com/
     
  9. Unread #5 - Jan 17, 2011 at 4:17 AM
  10. Calibur
    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Calibur Newcomer

    how to compile other .exes into one .exe?

    thanks for the link man....
    btw, how to know/get the classname?
    is it button, form, etc.? - sorry for dumb question.

    thanks!
     
  11. Unread #6 - Jan 17, 2011 at 9:48 PM
  12. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    how to compile other .exes into one .exe?

    in the coding of your form right up at the top you should see something saying "Public Class [CLASSNAMEHERE]"
    It's generally the name you saved the project as.
     
  13. Unread #7 - Jan 17, 2011 at 10:58 PM
  14. Calibur
    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Calibur Newcomer

    how to compile other .exes into one .exe?

    i test it in new project...
    so,
    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            System.Diagnostics.Process.Start(GetType(TEST), "firefox.exe")
        End Sub
    End Class
    i got error,

    "Type Expected."
     
  15. Unread #8 - Jan 17, 2011 at 11:37 PM
  16. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    how to compile other .exes into one .exe?

    like i said. I didn't think it would work.

    You're best off going to vbforums.com they are a hell of a lot better than me.
     
  17. Unread #9 - Jan 17, 2011 at 11:56 PM
  18. Calibur
    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    Calibur Newcomer

    how to compile other .exes into one .exe?

    ohh sorry...
    Thanks for help man, sure i'll reg there now.. thanks! :)
     
< Simple Tutorial For Beginners | Help with random dice >

Users viewing this thread
1 guest


 
 
Adblock breaks this site