creating a .exe File

Hello,

i have a really simple question, I′m a noob on Visual Basic.

Can I create .exe Files with Microsoft Visual Baisx 2005 Express Edition?

greetz steverino

[165 byte] By [steverino] at [2007-12-17]
# 1
Hello Steve,

yes you can. See this page for more info about what types of projects you can create in VB Express: http://msdn2.microsoft.com/en-us/library/b4z62wxz(en-US,VS.80).aspx

Console applications and Windows applications produce an executable file (.exe)

HTH

Antoine
Visual Basic team

Antoine_MS at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 2
but how?

Thats my problem!

greetz

steverino at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 3
Just Build your project and the .exe is in the Bin folder for the project.

GS

GS at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 4
But another question is .....

What's the real difference between a publish (for redistribution), which seems to install a reference in the startmenu with no target file, and just distributing the exe with supporting files? How do you set up a real "setup.exe?"

Stilletto at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 5
Hy,
How to create a setup.exe? That's easy...you have to publish your application......like this:
Open your application in Visual Basic Express 2005 > in the solution explorer, right click the Project Profile (the name of the application<the one on the top>) > and click publish.
From there, you set the path where the setup.exe (and the other instalation files) will be created......and follow the other steps > finish.
Tell me if it Works ;)

Cypry

Cypry at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 6
Greetings! I found your thread using Search! Ninja n00b skills!

Seriously though, I've downloaded the VB Express and created my first project which works beautifully, but I can't figure out how to package the project for distribution.

The stumbling block is that I have created a couple of static files that need to be installed in C:\Windows at the time of installation, and I can't figure out how to accomplish that. Also, I'd like an icon to appear on the All Users desktop as a result of installation - stumped on that one too, sadly.

Any assistance would be much appreciated. TIA!!

Mark42 at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 7

How exactly do u create .exe file?

I mean I can only save my project as a .vb file or text file.How do u make it an executable file?

Can anyone help me with that plz?

woytek at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 8

Okay. Ill bring you through the whole process, in case you messed something up in the beginning.
File - New Project
Select a type, name the project.
Write your project and do all your programming until you are finished.

Now, for a .exe that is not a setup file, first click File - Save All, then click Build - Build(ProjectName)
Navigate to
\My Documents\Visual Studio 2005\Projects\(ProjectName)\(ProjectName)\Bin
The .exe should be in this folder, unless you changed it, in which you would know where it is.

For your setup file, click Build - Publish (ProjectName)
You should be guided through this process and given an option of where you wish to place all the setup files including the .exe.
Now, obviously locate the directory where you told it to save the .exe and then there it is.

If you are failing to do one of the steps and also not getting your .exe, then thats quite obviously why you are not getting an .exe.

Otherwise im not sure exactly what is going on, i would have to know more about what exactly you are doing.

InvertedAerials at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 9
I was just curious about this. I have made my .exe however I can not use this on other computers. Is this not possible?
ChrisCornell at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 10
Do you have the .net 2.0 framework on that computer?
sunrunner at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 11
Actually, I figured it out. I dont, but I was trying to run it from a server. But it is just a file server so .net wouldnt be installed. Its basically just a deployment, and I found it really easy to code in Visual Studio because of the way the process' are used in there. So this is the way I was going to go, but now I am trying to use VBS instead. Thanks for the help
ChrisCornell at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...