using only the .exe file

raokikun

Member
Joined
Aug 17, 2011
Messages
15
Programming Experience
Beginner
after our thesis document and system. our school requires us to burn the system into the CD/DVD

its two CD's or dvd,

1 cd is for the sql installer and sql database for the system

1 cd is for the executable only. no vb installer and the project is not also included.

will the .exe file of the system work even without the vb.net installed and the project of the system on the computer that you will use?
 
As long as the .NET Framework is installed, a .NET EXE can simply be copied to the machine and run. That assumes that the EXE in question has no additional dependencies, e.g. third-party DLLs. You will also need to distribute the config file with the EXE if you store any data in the config file, e.g. My.Settings or connection strings.
 
The default for VB 2008 is to target .Net Framework 3.5. You can check in project properties, Compile page, Advanced options.
Also have a look in Publish page and click Prerequisites, there you can see which components the default publisher would install prior to installing the app. Default is a proper version of the Windows Installer and .Net 3.5.
 
Back
Top