VB.NET program will not run unless Visual Studio is installed

G

Guest

I wrote a simple VB.NET program that runs on a computer ONLY if I install
Visual Studio 2003 on that computer. The computer already had .NET Framework
1.1 installed. If it is run on a computer without VS, I get an unhandled
exception error trying to start the program.
I obviously cannot install VS .NET on all the computers that need to run
this program. Any ideas on what is missing from the computers that VS .NET
installs that makes the program work?
 
P

Patrice

What is this exception ? If needed add an
ApplicationException.UnhandledException to get the full description for this
exception. From there it should be easy to find out what happens...
 
G

Guest

This may be a silly question, and forgive me if it doesn't apply, but did you
just copy the .exe onto another computer?
You need to install the application
 
G

Guest

I made a deployment and it worked! It added the dependencies that were
required to the install package. Thanks for the advice!
 
G

Guest

Actually I did just copy the .exe file to another computer. I've written
other .NET applications where the entire program is compliled into the .exe,
so there are no other supporting files.
Maybe this is an exception, but how do I find out what supporting files
are required.
 
P

Patrice

The .NET framework were installed ?

A .NET application needs the .NET runtime to be installed.

You may have to add other files depending on what your code uses (for
example check the addtional "references" you may have added to your project
and that are not part of the .NET Framework).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top