954,190 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to convert vb.net project into exe file

Hi friends.....


anybody heip me. how to convert vb.net project into exe file.

Gowsi
Newbie Poster
8 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

In menu area select Build and then select Build programname.

waynespangler
Posting Pro in Training
461 posts since Dec 2002
Reputation Points: 84
Solved Threads: 58
 

By default the exe file should be in..

my documents>visual studio>yourproject name > bin >debug

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

I have the same problem. But when I did the building of project and save it in a thumbdrive, and pluck the thumdrive in a new pc and install the program, it can work. But as soon as I remove the thumbdrive, the program doesnt work. There's actually error in the directory I saved my project. Like, I save it in this computer removable drive F:/. But when I insert it in another computer, the removalble drive becomes E:/. And so the error lies in there.

mustoora
Newbie Poster
23 posts since Jul 2007
Reputation Points: 10
Solved Threads: 0
 

In vb.net,its not possible to create .exe files& if u want to view the compiled file-just check it out in vs-projects..
In vb.net,once the code is compiled and launched on the server-then the code of project can't b viewed...

preetham.saroja
Junior Poster in Training
82 posts since Jun 2007
Reputation Points: 5
Solved Threads: 1
 

just Run your project and if you wanna take the Exe just go to the folder that you saved the project and go to Bin and Debug.. and you'll see the EXE

stevenpurnama
Newbie Poster
3 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 
just Run your project and if you wanna take the Exe just go to the folder that you saved the project and go to Bin and Debug.. and you'll see the EXE

Visual Studio does not have the ability to create an EXE. There is also no exe in the debug folder.

delacombo
Newbie Poster
2 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

how to get the values from ms sql to vb .net combo box

ektham
Newbie Poster
1 post since Dec 2009
Reputation Points: 10
Solved Threads: 0
 
Visual Studio does not have the ability to create an EXE. There is also no exe in the debug folder.


In response to the negative vote I got-- I was asking a question more than stating a fact. Sorry, should have added "from the searching I'm doing in my VS2008....".

delacombo
Newbie Poster
2 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

Hi.I am doing the converting vb into exe file.I did all that was explained.When I put the thumbdrive into other pc,the interfce came out and when I clicked the button to show to the excel file,it says that the file cant be found because in my computer i saved it in C:/ and the other computer opened it as E:/ . Whats wrong?

tqah
Newbie Poster
2 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 
Hi.I am doing the converting vb into exe file.I did all that was explained.When I put the thumbdrive into other pc,the interfce came out and when I clicked the button to show to the excel file,it says that the file cant be found because in my computer i saved it in C:/ and the other computer opened it as E:/ . Whats wrong?

Just copy over the whole project folder and then the exe will work. Its no more effort than copying over just the exe file so no problem

twentytwotwo
Newbie Poster
17 posts since Oct 2009
Reputation Points: 6
Solved Threads: 0
 
Hi.I am doing the converting vb into exe file.I did all that was explained.When I put the thumbdrive into other pc,the interfce came out and when I clicked the button to show to the excel file,it says that the file cant be found because in my computer i saved it in C:/ and the other computer opened it as E:/ . Whats wrong?

U will have to import the file as a resource and access it usingResources.. Then use the Publish Project option under Build to create the executable version of your project in Visual Studio..

rohan_tahil
Newbie Poster
14 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

Hi...I have done my vb.net project which connect to an access database. The .exe file that I build can work well in my computer but it's cant work on others computer that do not install vb. Is it the vb.net exe file only can run when vb is install?

jzlonely
Newbie Poster
15 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 
Hi...I have done my vb.net project which connect to an access database. The .exe file that I build can work well in my computer but it's cant work on others computer that do not install vb. Is it the vb.net exe file only can run when vb is install?

If the problem is connection error to database you need to learn ODBC or some other database connectivity standards.. If the exe cant run coz of missing .NET files then use Publish Project option under Build.. this will create an executable in a location you specify, that will install missing framework files while installing your software..

rohan_tahil
Newbie Poster
14 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

There is no doubt that Visual Studio can create EXE files for VB.
And if you perform a Release build, there is no need to go through the Publish Project wizard.

The Release-compiled EXE is located in the bin/Release folder.
bin/Debug contains a debug compiled version used for... debugging.

And as far as the Access database connectivity is concerned, just create a folder within the project containing the Access database file and include the folder in the project. Use this path when setting up the connectionstring: ".\\"

When you compile your project, that folder will be copied to the bin/Release folder during the build.
After all is said and done, just copy the contents of the bin/Relase folder to wherever you want, even a memory stick, and it will still work.

Oxiegen
Master Poster
715 posts since Jun 2006
Reputation Points: 87
Solved Threads: 141
 

i think you're trying to create a setup file. if am right, then follow these steps;
1.open the project
2.select the file menu, new project, select other project types and just beneath it select setup and deployment
3. follow the instructions as you proceed


these steps will help create a setup file so it can be installed on any system using whatever version of windows.

Netcode
Veteran Poster
1,021 posts since Jun 2009
Reputation Points: 43
Solved Threads: 67
 

if you are trying to make it as an application for other pc, try download the innoSetup. tell me if this program really work, coz i havent have the time to try it yet>.

rayda
Newbie Poster
22 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

I've had very much success using Advanced Installer.
It's very easy to use.
You simply import the compiled files from the VS project, and fill out a few textfields, and then hit the Build button.

Oxiegen
Master Poster
715 posts since Jun 2006
Reputation Points: 87
Solved Threads: 141
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You