Deploying a simple application

  • Thread starter Thread starter ReidarT
  • Start date Start date
R

ReidarT

I have made a VB.net-program and built it. The result has been placed in the
bin-folder with only one file.
The program copies one file from one folder to another.
When I run the program CopyFile.exe on my computer it works OK, when I run
it on another computer it won't open.
The same program works OK in VB 6 when I make an exe-file.
Whatr could be the problem?
regards
reidarT
 
ReidarT said:
I have made a VB.net-program and built it. The result has been placed in the
bin-folder with only one file.
The program copies one file from one folder to another.
When I run the program CopyFile.exe on my computer it works OK, when I run
it on another computer it won't open.
The same program works OK in VB 6 when I make an exe-file.
Whatr could be the problem?
regards
reidarT

Did you install the .NET framework on the other computer?
 
Reidar,
I have made a VB.net-program and built it. The result has been placed in
the bin-folder with only one file.
The program copies one file from one folder to another.
When I run the program CopyFile.exe on my computer it works OK, when I run
it on another computer it won't open.
The same program works OK in VB 6 when I make an exe-file.
Whatr could be the problem?

Are you sure that that VB6 program works without a runtimer, weird, it
should not work.

There can be a lot of reasons. What do you mean with "it won't open"? Not
any message at all?

Cor
 
..net framework is not installed on the other computer.
This is a small program being used to update new versions of a program from
a server to local machines. Is it nessesary to install the framework on all
the computers?
reidarT
 
Yes. I suspect your VB6 was working because there was an old vb6 setup file
installed on it at one stage in the past. For .NET you will require the .Net
Framework. Install it and see....
 
ReidarT said:
I have made a VB.net-program and built it. The result has been placed in the
bin-folder with only one file.
The program copies one file from one folder to another.
When I run the program CopyFile.exe on my computer it works OK, when I run
it on another computer it won't open.
The same program works OK in VB 6 when I make an exe-file.
Whatr could be the problem?
regards
reidarT

can dot-net and use 6.0 for that app.
You have to install the dotnet framework on the user's machine for the
dotnet junk to work
 
ReidarT said:
.net framework is not installed on the other computer.
This is a small program being used to update new versions of a program
from a server to local machines. Is it nessesary to install the framework
on all the computers?

Yes, this is absolutely necessary. Typically it's done during an
application's setup process:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en>
 
Back
Top