Visual Basic 2005 to .exe?
I am new to Visual Basic 2005, i have to express edition. I was wondering if there was a similar option to turn your program into 1 .exe like in VB 6.0. It was in the file menu, it was something like export to exe. I would like to know if there is a similar way in VB 2005. I tried with publish but you have to install it for it to work. I want just a plain old .exe.
thanks,
vidervidenda.blogspot.com
Re: Visual Basic 2005 to .exe?
Your app is made into an EXE everytime you compile it. It's in the Debug/Bin directory of your solution by default.
Bill
Re: Visual Basic 2005 to .exe?
Look in the BIN folder. If it's the same as 2003, then it gets compiled before your run the app, and it gets put in the BIN folder. You have to compile to RELEASE version before you can transport it to another box though.
Re: Visual Basic 2005 to .exe?
im sorry im not sure i know what u mean, could you be more specific. how do you compile. i have very little knowledge to visual basic, i would like to try and learn it more.
Re: Visual Basic 2005 to .exe?
Click on SAVE PROJECT AS: and it will point you to the folder that it was saved in. Open that, and you will find a subfolder called BIN (amonst others). The project is saved with the same name in that folder.
Re: Visual Basic 2005 to .exe?
when you run your program it is automatically compiled... in the bin directory.. in an exe..
as far as installation goes, just a matter of copying the exe to the target computer, if the target computer has the .NET framework installed, it should run (as long as you didn't have a reference to an outside dll that the framework doesnt have, in that case, you need to create a setup project)
Re: Visual Basic 2005 to .exe?
There are two properties. Compile to release mode or compile to debug mode. You need release mode to transfer the app, I think. You can also start a new project for the Setup and Deployment (I think) type of app. You just add your project, and then compile a setup.exe
Re: Visual Basic 2005 to .exe?
In VB 2005 Express you compile a release build, which is what you want if you want to run your app on other machines, you select Build->Build Solution from the main menu. The compiled executable file will then be in the "Visual Studio\Projects\<SolutionName>\<ProjectName>\bin\Release" subfolder of your MyDocuments folder. If you had a previous version of Visual Studio installed then the "Visual Studio" folder may be called "Visual Studio 2005".
Re: Visual Basic 2005 to .exe?
Quote:
Originally Posted by baker89
im sorry im not sure i know what u mean, could you be more specific. how do you compile. i have very little knowledge to visual basic, i would like to try and learn it more.
Press the play button or Build it.
Also, please purchase a VB.Net book.