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
8 Replies - 32243 Views - Last Post: 13 September 2012 - 07:57 AM
#1
How to generate/create a exe file of a Vb.net project
Posted 29 January 2009 - 03:18 AM
Replies To: How to generate/create a exe file of a Vb.net project
#2
Re: How to generate/create a exe file of a Vb.net project
Posted 29 January 2009 - 03:30 AM
jremio, 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
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.
#3
Re: How to generate/create a exe file of a Vb.net project
Posted 29 January 2009 - 12:32 PM
jremio, 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
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!
#4
Re: How to generate/create a exe file of a Vb.net project
Posted 29 January 2009 - 02:59 PM
jremio, 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
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).
#5
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?
I do not expect the client to install Vb.net in order to view this application. Any idea?
#6
Re: How to generate/create a exe file of a Vb.net project
Posted 03 February 2009 - 03:36 AM
As Shill said above:
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.
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!
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
#7
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.
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.
#8
Re: How to generate/create a exe file of a Vb.net project
Posted 12 September 2012 - 09:54 PM
jremio, 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
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!
#9
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.
Windows background change does this.
This post has been edited by deery5000: 13 September 2012 - 07:58 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|