Adblock breaks this site

how to compile other .exes into one .exe?

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

  1. Calibur

    Calibur Newcomer

    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    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!
     
  2. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    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 ;)
     
  3. Calibur

    Calibur Newcomer

    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    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
     
  4. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    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/
     
  5. Calibur

    Calibur Newcomer

    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    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!
     
  6. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    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.
     
  7. Calibur

    Calibur Newcomer

    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    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."
     
  8. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    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.
     
  9. Calibur

    Calibur Newcomer

    Joined:
    Jan 16, 2011
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    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 >


 
 
Adblock breaks this site