Once i have the application working, how do i build it and make it ready for use on another computer, and are all the files nessasary or just the EXE file?
Printable View
Once i have the application working, how do i build it and make it ready for use on another computer, and are all the files nessasary or just the EXE file?
Well assuming the computers that will be running your program have properly installed the Framework, all you need is the .exe, also a note which I just learned, there are 2 types of builds, if you are making a release version (public), then you should goto the Build Options and make sure you change it to Release version so the compile removes all the extra slow debugging code.
If you are only using this on local computers this is fine but if you want to deploy this as a commercial app without your intervention you need to add a Setup project to your solution. Use this to build a SETUP.EXE which a user can install just as a normal Windows app. using Windows Installer
once i have the setup.EXE in the folder [myappstartup] do i use the Setup.EXE as my send file? will it have all the files and application inside it and the Framwork files too?
Yes, as long as you include them in the setup project.
It will build you a .msi file that you can use to distribute. It will include all the necessary files to install and run your app.
I would take a look at the msdn library for any guidance you may need to do this.
http://www.msdn.microsoft.com/library/
The setup can't install the .NET Framework - this has to be done separately. There was an option in the Beta versions of VB.NET to include it but they removed it in the final release !!