By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,680 Members | 2,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,680 IT Pros & Developers. It's quick & easy.

Creating an executable for .net application

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a

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