Results 1 to 9 of 9

Thread: make vb.net program an exe file

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    31

    make vb.net program an exe file

    how can you make a executeable file in vb.net. i know vb 6 has an option where you can do it, but i need to make my vb.net program executeable. help would be very much thanked.

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

    Re: make vb.net program an exe file

    Open Debug menu and click Build Solution.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    31

    Re: make vb.net program an exe file

    ok done that. where is the file.

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

    Re: make vb.net program an exe file

    In the Bin/Debug folder.

    Add if you are making a final tested copy of your program you should change the configuration to Release.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

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

    Re: make vb.net program an exe file

    Which version of the IDE are you using because things are slightly different in each one. 2003 use the 'bin' folder by default for both debug and release, while 2005 creates seperate 'bin\Debug' and 'bin\Release' folders by default. Also, in 2003 you have to change the configuration on the toolbar, while in 2005 the Build menu automatically creates a Release build while the Start button automatically creates a Debug build. As my signature suggests, you should always specify which version you're using so you get the best anser and people don;'t waste their time giving you useless advice. Not that I'm inplying that your advice is useless Shuja Ali.
    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

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

    Re: make vb.net program an exe file

    Quote Originally Posted by jmcilhinney
    Not that I'm inplying that your advice is useless Shuja Ali.
    You don't have to mention that. I totally agree with you on posting which version is being used.

    I assume that when something is posted in VB.NET forum it is related to VS 2003 unless otherwise specified by the OP. (I don't remember someon'es signature just says that)
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    31

    Re: make vb.net program an exe file

    yep it is vs 2003. i know the exe file but as soon as i use it onto a machine that dont have vs i get a error message and it dont work. the error message is something about terminate.

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

    Re: make vb.net program an exe file

    That is because that machine does not have .NET Framework installed on the system.

    Download the .NET Framework from Microsoft website and install it on that system.

    And when you post a problem it makes easier to help when you post the actual error message.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

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

    Re: make vb.net program an exe file

    As Shuja Ali says, you should give details of the actual problem when you first post. Otherwise you'll just waste the time of those trying to help you. You can create a setup project in VS.NET 2003 that will allow you to distribute the .NET Framework with your application and install it automatically if needed. You'll need this plug-in first, then create a new project in your solution and select a setup project.
    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