Results 1 to 5 of 5

Thread: How to create an exe file of your VB.NET program?

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    63

    Question How to create an exe file of your VB.NET program?

    Hi guys!
    I am just about to finish my project in VB.Net.. thx to a lot of help from this forum.. since this is my first program on VB, i dun hav an idea of how to publish or how to create the exe file of the program once the debugging is over.. can anyone please help me with that...

    Please Advise

    cheers
    Abhilash

  2. #2
    Fanatic Member
    Join Date
    Feb 2007
    Location
    Eindhoven
    Posts
    828

    Re: How to create an exe file of your VB.NET program?

    I'm not sure if this your question, but the exe file is create automatically and located in the debug folder when you compile it. This folder is locoted inside your project directory

  3. #3
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: How to create an exe file of your VB.NET program?

    You first need to change the configuration from Debug to release mode. Once that is done, you can select Build Solution from build menu. And then go to Bin folder and you will find the release folder where your exe will be present.

    Also take a look at how to deploy .NET applications on MSDN.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  4. #4

    Thread Starter
    Member
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    63

    Re: How to create an exe file of your VB.NET program?

    HI!
    thx for the help.. but i am not rilli sure how to change configuration to release mode.. i am using VB.net 2005.. there is no option of build solution in the build menu.. i tried publish application.. is that the same..


    Please advise

    cheers
    Abhilash

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

    Re: How to create an exe file of your VB.NET program?

    Quote Originally Posted by talkro
    I'm not sure if this your question, but the exe file is create automatically and located in the debug folder when you compile it. This folder is locoted inside your project directory
    That's no use unless you want to debug. Noone should be distributing debug builds of their app.

    Either you're using VB Express or VS. If it's VB Express then there's a Build Solution option on your Build menu if you have a solution. If you don't then there's a Build <projectname> option that will build a Release version of your app and output it to the bin\Release folder under your project folder. If you're using VS then it should be obvious where to change the configuration on the tool bat because it will already say Debug or Release. If you can't see that then you are presumably using VB Express.
    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