"Adrian" <Adrian (AT) discussions (DOT) microsoft.com> wrote
Quote:
Hello All,
I would like to know how to make my "code" and executable program
I currently own visual Studio Acedemic edition 2003
Thank you for your help |
From this and your earlier post, I'll assume we're talking about Visual
Basic and Visual Basic .NET.
If your friend is able to send you a VB6 .exe (one file) that you can run on
your PC, you must have VB6 or the VB6 runtime installed on your machine.
Either that, or the file is a self-extracting archive that installs his
application on your PC. VB6 makes executables, but not standalone
executables. VB6 applications must be packaged with necessary support and
installed, just as a commercial application must be installed.
Similarly, VB .NET puts a .exe file in your solution bin folder when you
compile, but it is not a standalone. A Visual Studio .NET solution must also
be "packaged" for installation on target PC's. In addition, the target PC
must have the appropriate version of the .NET Framework installed (the
Framework can be made part of your installation package).
As far as I know, the only way you could make a standalone executable in
Visual Studio .NET is to write a C++ console application with no Windows or
..NET dependencies.
To pursue distributing your work, look up "deploying applications" and
"deployment project" in your Visual Studio help.
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.