469,579 Members | 1,271 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

Creating an executable for .net application

Hi all,

I'm new to VB.net and have a question about creating the .exe file for my
program. In VB6 you could just select 'Make .exe' from the File menu, but
everything that I read about deploying an application in VB.net talks about
creating an installer file. The application I created is very small (just a
sample) and I don't want the user to have to install the program, just run an
executable. Is there any way to do this in VB.net?

Can someone help or point me in the right direction. I feel like I'm
running around in circles!
Nov 22 '05 #1
2 1653
Hi,

If you are using Visual Studio .NET, the project build operation will create
the target file (exe or dll). Once the build is completed successfully, it
would have created the target file in <project Folder>\bin\debug.

Hope that helps.

"jcooper" <jc*****@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.com...
Hi all,

I'm new to VB.net and have a question about creating the .exe file for my
program. In VB6 you could just select 'Make .exe' from the File menu, but
everything that I read about deploying an application in VB.net talks about
creating an installer file. The application I created is very small (just a
sample) and I don't want the user to have to install the program, just run
an
executable. Is there any way to do this in VB.net?

Can someone help or point me in the right direction. I feel like I'm
running around in circles!
Nov 22 '05 #2

"jcooper" <jc*****@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.com...
Hi all,

I'm new to VB.net and have a question about creating the .exe file for my
program. In VB6 you could just select 'Make .exe' from the File menu, but
everything that I read about deploying an application in VB.net talks about creating an installer file. The application I created is very small (just a sample) and I don't want the user to have to install the program, just run an executable. Is there any way to do this in VB.net?

Can someone help or point me in the right direction. I feel like I'm
running around in circles!


VB never did create a stand-alone executable. Prior to .NET, the VB runtime
was required if not already installed on target PC(s)..
As Shiva has told you, VB.NET does create an .exe or .dll, depending on the
template selected. As was the case with VB 6, the .exe must be accompanied
by the necessary support files if it is to run on a host that does not have
the development environment installed.
So, the question is, what is installed on the potential user's PC? In the
case of VB.NET, regardless of the deployment method you choose, the user
must have the .NET Framework installed (unless you add the Framework as part
of your install package).
Bottom line: You need to add a deployment project to your solution to build
an installable package.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.