1,105,344 Community Members

how to convert vb.net project into exe file

Member Avatar
Gowsi
Newbie Poster
8 posts since Oct 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
1
 

Hi friends.....


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

Member Avatar
waynespangler
Posting Pro in Training
461 posts since Dec 2002
Reputation Points: 63 [?]
Q&As Helped to Solve: 58 [?]
Skill Endorsements: 6 [?]
 
0
 

In menu area select Build and then select Build programname.

Member Avatar
iamthwee
Posting Sage
7,066 posts since Aug 2005
Reputation Points: 1,307 [?]
Q&As Helped to Solve: 595 [?]
Skill Endorsements: 74 [?]
Featured
 
1
 

By default the exe file should be in..

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

Member Avatar
mustoora
Newbie Poster
23 posts since Jul 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
1
 

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.

Member Avatar
preetham.saroja
Junior Poster in Training
82 posts since Jun 2007
Reputation Points: -5 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
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...

Member Avatar
stevenpurnama
Newbie Poster
3 posts since Aug 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
delacombo
Newbie Poster
2 posts since Jul 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
-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

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

Member Avatar
ektham
Newbie Poster
1 post since Dec 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
delacombo
Newbie Poster
2 posts since Jul 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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....".

Member Avatar
tqah
Newbie Poster
2 posts since Dec 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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?

Member Avatar
twentytwotwo
Newbie Poster
19 posts since Oct 2009
Reputation Points: -4 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
rohan_tahil
Newbie Poster
14 posts since Jun 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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 using Resources.. Then use the Publish Project option under Build to create the executable version of your project in Visual Studio..

Member Avatar
jzlonely
Newbie Poster
15 posts since Jun 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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?

Member Avatar
rohan_tahil
Newbie Poster
14 posts since Jun 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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..

Member Avatar
Oxiegen
Master Poster
765 posts since Jun 2006
Reputation Points: 88 [?]
Q&As Helped to Solve: 149 [?]
Skill Endorsements: 7 [?]
Featured
 
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: ".\<databasefolder>\<databasefile>"

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.

Member Avatar
Netcode
Veteran Poster
1,049 posts since Jun 2009
Reputation Points: 33 [?]
Q&As Helped to Solve: 86 [?]
Skill Endorsements: 8 [?]
 
0
 

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.

Member Avatar
rayda
Newbie Poster
22 posts since Jan 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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>.<

Member Avatar
Oxiegen
Master Poster
765 posts since Jun 2006
Reputation Points: 88 [?]
Q&As Helped to Solve: 149 [?]
Skill Endorsements: 7 [?]
Featured
 
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.

hammota
Newbie Poster
1 post since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
Unverified Member
 
0
 

Visual Studio can not create an .EXE , just go to the folder that you saved the project and go to Bin and Debug.. and you'll see the EXE.

Member Avatar
Reverend Jim
Noli mentula
5,436 posts since Aug 2010
Reputation Points: 746 [?]
Q&As Helped to Solve: 653 [?]
Skill Endorsements: 51 [?]
Moderator
Featured
 
0
 

Because you are a new user I strongly suggest you read the member rules. There are two problems with your post.

  1. You state incorrectly that Visual Studio can not create an .EXE. Not only can it, but you also contradict yourself in the next statement.
  2. You revived a long dead thread. Unless you have something new to add, leave the old threads alone. In this case, the thread is over two years old.
You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article