By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,916 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,916 IT Pros & Developers. It's quick & easy.

Copying file from a network drive to a local PC

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Sure, you can change the Security polices for you application to allow that,
in the machine.

--
Bela Istok
"ReidarT" wrote:
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

Nov 17 '05 #2

P: n/a

"ReidarT" <re****@eivon.no> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
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.
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.