*.EXE File on network

  • Thread starter Thread starter FaciCAD
  • Start date Start date
F

FaciCAD

In VB6, I copy *.exe file in a folder on the network and all user can run
this (if they have all *.ocx files). I would like to make the same thing in
VB.NET, but I can't. It gives me error wen I run the program. I build my
application with release option and I copy the *.exe file from
....\obj\Release folder. I don't want to use a setup program to run this
program. Can you help me please :((((((
 
FaciCAD said:
In VB6, I copy *.exe file in a folder on the network and all user can
run this (if they have all *.ocx files). I would like to make the
same thing in VB.NET, but I can't. It gives me error wen I run the
program. I build my application with release option and I copy the
*.exe file from ...\obj\Release folder. I don't want to use a setup
program to run this program. Can you help me please :((((((

The .NET Framework must be installed on the client machines.
 
Yes it is, and VB.NET is on my PC. Want i run in debug mode with run in
VB.NET, the program run perfect, but if i build *.exe file, copy on server
and try to run from server i can't. The just-in-time start with comment "An
exception 'System.IO.FileNotFoundExeption' has occurred in Options.exe"
 
'System.IO.FileNotFoundExeption'

This means .NET can find the file you are asking for, if you click
Start->Run and paste the path in, does it open as you would expect?
 
Hello,

FaciCAD said:
In VB6, I copy *.exe file in a folder on the network and all user can run
this (if they have all *.ocx files). I would like to make the same thing in
VB.NET, but I can't. It gives me error wen I run the program. I build my
application with release option and I copy the *.exe file from
...\obj\Release folder. I don't want to use a setup program to run this
program.

Do you get a SecurityException?

http://www.google.de/[email protected]

HTH,
Herfried K. Wagner
 
Hello,

FaciCAD said:
This is the windows

That's a SecturityException, not a FileNotFoundException. Have a look at my
reply to your original posting.

HTH,
Herfried K. Wagner
 
Hello,

FaciCAD said:
"An exception 'System.IO.FileNotFoundExeption' has occurred in
Options.exe"

Do you still get this exception?

Regards,
Herfried K. Wagner
 
Back
Top