Results 1 to 11 of 11

Thread: How do I make an Executable?

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    9

    Question How do I make an Executable?

    Ok, I'm done writing and designing my application. How do I make an EXE of it?

    Building it only makes an *.resx file. What is an *.resx file?

    Thanx

  2. #2
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: How do I make an Executable?

    Not true look in:
    \bin\Debug\ProjectName.exe

    I think resx indexes all the images you added to your project not exactly sure.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    9

    Re: How do I make an Executable?

    Thanx I found it. It was called Application*1.exe

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: How do I make an Executable?

    Also, you don't want to be compiling a Debug version ultimately, so change the configuration to Release, re-build, then look in the Release folder rather than the Debug folder.
    My usual boring signature: Nothing

  5. #5
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: How do I make an Executable?

    Why not run the debug executable? Where is this option to change it to release instead of Debug? What are the advantages..

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How do I make an Executable?

    Quote Originally Posted by OMITT3D
    Why not run the debug executable? Where is this option to change it to release instead of Debug? What are the advantages..
    The debug executable is larger and runs slower than a release build because it contains a lot of information required for debugging. Also, if a problem occurs it will allow the user to debug it, which is generally not what you want. You use a Debug build while debugging. You release a Release build.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: How do I make an Executable?

    Where do I change this. Thx for the info.

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How do I make an Executable?

    What version of the IDE are you using? VS.NET 2003 you change the configuration on the tool bar. VB 2005 Express you create a Release build by using the Build menu. VS 2005 also has the configuration on the tool bar I think, although I haven't used it so I'm not too sure.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: How do I make an Executable?

    hmm vs 2005 pro. On the build tool bar there is an option for "Build <projectnamehere>"
    or
    Build solution.

  10. #10
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: How do I make an Executable?

    In 2003 or 2005 it's listed right at the top next to the play button. Just change Debug to Release. If you're using express, then it automatically builds both for you.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  11. #11
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How do I make an Executable?

    Quote Originally Posted by OMITT3D
    hmm vs 2005 pro. On the build tool bar there is an option for "Build <projectnamehere>"
    or
    Build solution.
    That would be the Build MENU, not TOOLBAR. You set the configuration using the drop-down list on the tool bar and then build using the menu options.
    Quote Originally Posted by kasracer
    If you're using express, then it automatically builds both for you.
    Using the Build menu creates a Release build. Using the Debug menu, pressing F5 or the Start Debugging tool bar button will create a Debug build.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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