1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help creating a standard .exe file

Discussion in 'BlackHat Lounge' started by _Biju_, Oct 15, 2011.

  1. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    I have created a Visual Basic project, everything went fine, no errors no complicated stuff.

    Now I want to convert that project into a standalone .exe file

    I have used free(trial) Visual Studio 2010 Express, and everything was excellent until i wanted to create the actual exe file.

    Please don't send me to another forum cause this is the only forum I check 10bilion times a day. I know there are developers here that could point me into the right direction.

    In a few words ... I just need a simple solution to create a standalone .exe file, compatible with as many versions of windows as possible, that will allow me to create a simple window with 3-4 buttons and 5-6 text fields.

    Thank you
     
  2. Cnotey

    Cnotey Power Member

    Joined:
    Jun 25, 2010
    Messages:
    707
    Likes Received:
    911
    Location:
    Seattle
    Home Page:
    Just download Visual Basic 2005, and open your project in that. Then export it to .exe.
     
  3. healzer

    healzer Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jun 26, 2011
    Messages:
    2,364
    Likes Received:
    1,966
    Gender:
    Male
    Occupation:
    Marketing automation tools
    Location:
    Somewhere in Europe
    Home Page:
    It's simple...
    you need to go to (at the top)

    Build -> Build project...

    then go to the folder where you project is located... somewhere in there there is a folder called: Debug... bin... or something... in there you will find a .exe file...so thats it :)

    search somewhere inside the project folder :)
     
  4. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    612
    Likes Received:
    188
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    all you have to do is click build but if you want it compatible with all versions you want VB6. Also, if you want an even simpler solution thats compatible use Autoit.
     
  5. beest123

    beest123 Junior Member

    Joined:
    Jul 1, 2011
    Messages:
    134
    Likes Received:
    91
    Just click on debug, and then go into your debug folder and there it will be.
     
  6. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    There is no "Build" or "Make" or "Export" or something similar to that in the free version of VB 2010. I have searched left and right by now on google and they all say that my (free) version doesn't have that option.

    That sucks.

    What you guys are saying is available only in the enterprise or similar version.
    I will apreciate it if you have a link for me to get that one.
     
  7. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    Or atleast give me a link to some other develop. tool that will let me export as a .exe file, with basic functions ... like button, form field, text field and url call.
     
  8. jimbobo2779

    jimbobo2779 Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 17, 2008
    Messages:
    3,239
    Likes Received:
    2,395
    Occupation:
    Software Engineer
    Location:
    UK
    Home Page:
    Press F6.

    If you really cannot find the build button or the build menu item or the debug menu item which are all right there in front of you just press F6. You don't need a tutorial or special program just one finger and one button press.
     
  9. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    I don't think VB 2010 will be compatible with VB 2005.

    There is no build option.

    I don't need somthing like AutoIt. I have WinAutomation for that.

    F5 - Works
    Shift + F5 - Doesn't work
    F6 - Doesn't work
     
  10. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    I'll just recreate the program in another enviroment if you can just tell me something that can export as a standalone .exe file

    It's as simple as that
     
  11. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    612
    Likes Received:
    188
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    im not sure about winautomation but autoit is a VB style language that compiles to .exe files. You can make full windowing applications in it with as many buttons or whatever you want. There is a GUI window editor for it called Koda that makes it easy to make the interface. For what you're trying to do there is no reason you should be trying to build .NET applications which is what you're attempting at the moment.
     
  12. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    Ok .... i see where the confusion is ... even if it's not relevant to the thread

    My "miniSoft" it's like a submission form ... it's not something that I need to automate. I have real people completing this form.

    and i need this to be as a standalone .exe
     
  13. Frement

    Frement Registered Member

    Joined:
    Sep 26, 2010
    Messages:
    66
    Likes Received:
    22
    Location:
    46696E6C616E64
    Home Page:
    Qt C++, thats my recommendation. The Qt SDK comes with Qt Creator, which is basically an IDE with form editor, so you can make your GUI easily.
     
  14. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    612
    Likes Received:
    188
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    yeah. use autoit. i know on their site it says automation or whatever but its exactly what you need. it can submit any data you need or however you plan on doing it (browser object). just pretend you're using VB but its called autoit
     
  15. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    ok

    i've looked into AutoIt and it's not what I need

    The thing is I just can't belive there is only the PAID Microsoft solution for creating simple (and complex) standard executables.

    WTF ? Nothing else ?
     
  16. Cnotey

    Cnotey Power Member

    Joined:
    Jun 25, 2010
    Messages:
    707
    Likes Received:
    911
    Location:
    Seattle
    Home Page:
    Obviously you are pretty new to programming. VB is VB, doesn't matter if it's 2000, 2005, 2010, or 2011. They are all the same language. Of course they would be compatible. If they weren't, every program in the world would have to be re-written ever year.

    And to quote your "I Don't Think" statement. How do you know until you try it?
     
  17. _Biju_

    _Biju_ Junior Member

    Joined:
    Nov 18, 2010
    Messages:
    171
    Likes Received:
    67
    Location:
    Here
    Home Page:
    I'm not new to programming ... but if it's something that has a date like 2005 ... im not gonna use in 2011 ... not to mention the updates and changes in OSs.

    I've been a programmer for 6 years now ... i know what a single update means in terms of security and relevance across systems and security issues.

    Thanks for your reply ... not so much for your help
     
  18. healzer

    healzer Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jun 26, 2011
    Messages:
    2,364
    Likes Received:
    1,966
    Gender:
    Male
    Occupation:
    Marketing automation tools
    Location:
    Somewhere in Europe
    Home Page:
    no need to do the "build", just run the app once (f5)

    and close it again....
    go to the project folder (where ever you saved/created it)
    look in all folders until you find YourFormName.EXE file
     
  19. saxgod

    saxgod Regular Member

    Joined:
    Sep 19, 2010
    Messages:
    351
    Likes Received:
    337
    If you are a student and have an ISIC student card you can get a full version of VS2010 for free from www.dreamspark.com
     
  20. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    612
    Likes Received:
    188
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    They are not the same language. Everything since vb6 is .NET, is not the same language, and requires the .NET framework be installed to execute.