Copying file from a network drive to a local PC

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

ReidarT

I have a copyfile x y and built this to a exe-file.'
When I run the exe-file built in the bin-directory and copy it to other
machines I get an errormessage concerning
security policy.
I don't need a setup file for application, its just a simple file copying
from x y.
How can I solve this problem without using VB6?
reidarT
 
Sure, you can change the Security polices for you application to allow that,
in the machine.
 
ReidarT said:
I have a copyfile x y and built this to a exe-file.'
When I run the exe-file built in the bin-directory and copy it to other
machines I get an errormessage concerning
security policy.
I don't need a setup file for application, its just a simple file copying
from x y.
How can I solve this problem without using VB6?
reidarT

Start reading the chapter about .NET security in MSDN, and read about
caspol.exe, you should use this utility to adapt your seurity settings when
loading applications from non local disks.

Willy.
 
Back
Top