I recently converted a VB6 program to VS 2005 that had a call to some
Shell32 APIs to manipulate/test some registry keys. Using
My.Computer.Reg istry, I was able to make the program much simpler. The one
problem is that I want this to be a program that I can run from a network
shared drive on any machine to test that individual machine's registry
settings and once I compile the program and try to run it from the network
share, it gets an error: "Request for the permission of type:
'System.Securit y.Permissions.R egistryPermissi ons, mscorlib, Version=2.0.0.0 ,
culture=Neutral , PublicKeyToken= ...' failed." Anyone have any ideas on how
to fix this?
TIA!
--
TFWBWY...A
Shell32 APIs to manipulate/test some registry keys. Using
My.Computer.Reg istry, I was able to make the program much simpler. The one
problem is that I want this to be a program that I can run from a network
shared drive on any machine to test that individual machine's registry
settings and once I compile the program and try to run it from the network
share, it gets an error: "Request for the permission of type:
'System.Securit y.Permissions.R egistryPermissi ons, mscorlib, Version=2.0.0.0 ,
culture=Neutral , PublicKeyToken= ...' failed." Anyone have any ideas on how
to fix this?
TIA!
--
TFWBWY...A
Comment