9 Replies - 59035 Views - Last Post: 28 March 2014 - 10:40 AM Rate Topic: -----

#1 jremio  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 15
  • Joined: 19-October 08

How to generate/create a exe file of a Vb.net project

Post icon  Posted 29 January 2009 - 03:18 AM

Do anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.

Your help will be appreciated, thank you
Is This A Good Question/Topic? 1
  • +

Replies To: How to generate/create a exe file of a Vb.net project

#2 highboy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 29-January 09

Re: How to generate/create a exe file of a Vb.net project

Posted 29 January 2009 - 03:30 AM

View Postjremio, on 29 Jan, 2009 - 02:18 AM, said:

Do anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.

Your help will be appreciated, thank you


i dont really understand you for thats all you are ever going to get is that exe file in the bin folder.i mean you can create an installer that places it in say program files and makes a nice short cut to the users desktop and all but when it all boils down the app is still running from that exe file in the bin folder.
Was This Post Helpful? 0
  • +
  • -

#3 shill  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 36
  • Joined: 19-September 08

Re: How to generate/create a exe file of a Vb.net project

Posted 29 January 2009 - 12:32 PM

View Postjremio, on 29 Jan, 2009 - 04:18 AM, said:

Do anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.

Your help will be appreciated, thank you

To add a setup file to a project:

File --> Add --> New Project --> Other Project Types --> Setup & Deployment --> Setup Wizard

To have it overwrite the old program (instead of having to uninstall/reinstall each time)

In the Properties of the setup file change the version from 1.0.0 to 1.0.1, it will prompt you to change the product code. Make a new build and it will overwrite the old!
Was This Post Helpful? 0
  • +
  • -

#4 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Re: How to generate/create a exe file of a Vb.net project

Posted 29 January 2009 - 02:59 PM

View Postjremio, on 29 Jan, 2009 - 02:18 AM, said:

Do anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.

Your help will be appreciated, thank you


The executable that you is found in the project bin folder (either Release or Debug versions) is your only choice if you need the EXE file. Your application will run from that single executable everywhere, where a compatible version of .NET Framework is installed (if you are not using any additional third-party references).
Was This Post Helpful? 0
  • +
  • -

#5 jremio  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 15
  • Joined: 19-October 08

Re: How to generate/create a exe file of a Vb.net project

Posted 01 February 2009 - 05:36 PM

Thanks for the reply, but i do not want the exe in the bin folder, i wan a exe that acts like a disc, where u can simply use the application by runnning the exe even in the other computers.
I do not expect the client to install Vb.net in order to view this application. Any idea?
Was This Post Helpful? 0
  • +
  • -

#6 Bort  Icon User is offline

  • Ill-informed Mongoloid
  • member icon

Reputation: 445
  • View blog
  • Posts: 3,084
  • Joined: 18-September 06

Re: How to generate/create a exe file of a Vb.net project

Posted 03 February 2009 - 03:36 AM

As Shill said above:

Quote

To add a setup file to a project:

File --> Add --> New Project --> Other Project Types --> Setup & Deployment --> Setup Wizard

To have it overwrite the old program (instead of having to uninstall/reinstall each time)

In the Properties of the setup file change the version from 1.0.0 to 1.0.1, it will prompt you to change the product code. Make a new build and it will overwrite the old!


This is how you create an exe for your application. It will be in the bin\release folder. Copy all of the files in this folder onto the target computer, then run the exe. It will install, and give you a start menu item and a desktop icon.

Once this is done, the owner of the other computer will not need vb.net installed.

This post has been edited by Bort: 03 February 2009 - 03:37 AM

Was This Post Helpful? 0
  • +
  • -

#7 pr4y  Icon User is offline

  • Location: 127.0.0.1
  • member icon

Reputation: 35
  • View blog
  • Posts: 621
  • Joined: 19-September 08

Re: How to generate/create a exe file of a Vb.net project

Posted 03 February 2009 - 05:43 AM

You can't simply take a .NET application and expect to have it work without the .NET framework. Any application developed in .NET, must stay with the .NET framework.

Your only option for a single executable file would be an EXE binder in which is bound to the .NET installation and your Project's installation files.

You can't avoid the framework... its like trying to run a web server without apache, you just can't do it.
Was This Post Helpful? 0
  • +
  • -

#8 claytoncrivera  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 12-September 12

Re: How to generate/create a exe file of a Vb.net project

Posted 12 September 2012 - 09:54 PM

View Postjremio, on 29 January 2009 - 03:18 AM, said:

Do anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.

Your help will be appreciated, thank you


I think you need another program like iexpress to compile your files into one self extracting one.
to do this, follow these steps:
1. Start
2. Run
3. Type "iexpress"
4. Click on "Next"
5. Click on "Next"
6. Type the Title for your program
7. Click on "Next"
8. Click on "Next"
9. Click on "Next"
10. Click on "Add" then browse for the files you want to make as one
11. Click on "Next"
12. Select on the list the Executable File you want to be run.
13. Click on "Next"
14. Click on "Next"
15. Click on "Next"
16. Browse for the Executable file you want to be run.
17. Click on "Next"
18. Click "Dont Save"
19. Click on "Next"
20. Click on "Next"
21. Click on "Finish"
Browse the Self-Extracting file in your program path. That's all. Hope i helped you...Happy programming!
Was This Post Helpful? 0
  • +
  • -

#9 deery5000  Icon User is offline

  • D.I.C Addict

Reputation: 78
  • View blog
  • Posts: 979
  • Joined: 09-May 09

Re: How to generate/create a exe file of a Vb.net project

Posted 13 September 2012 - 07:57 AM

i think what shes looking for is an .exe on the desktop which launches the app without the user installing it.

Windows background change does this.

This post has been edited by deery5000: 13 September 2012 - 07:58 AM

Was This Post Helpful? 0
  • +
  • -

#10 venky1806  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-March 14

Re: How to generate/create a exe file of a Vb.net project

Posted 28 March 2014 - 10:40 AM

View Postjremio, on 29 January 2009 - 03:18 AM, said:

Do anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.

Your help will be appreciated, thank you



Hi,

you can use that exe file in bin/debug and then u can download .net framework from this site

http://dotnetsocial....m=.NETFramework,Version=v4.5

It runs successfully then
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1