|
-
Jun 9th, 2003, 01:23 PM
#1
Thread Starter
Lively Member
Read Reg...again
I need to read all the keys from the following location in the reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
I know i have admin rights, since i can use RegEdit and Add\Delete Keys, however, when i try to read from the reg using VB.NET i get the following error:
Request for the permission of type System.Security.Permissions.RegistryPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Do i need to set access with vb?
thanks ahead of time
dave
-
Jun 10th, 2003, 09:51 PM
#2
Sleep mode
-
Jun 11th, 2003, 08:20 AM
#3
Thread Starter
Lively Member
I figured out what the problem was.
My vb project file was located on a network share.
When I moved the project to the local disk the permission error didnt come up.
I have admin rights on the local machine, but not on the network, something i didnt consider.
Thanks for the white paper though, i needed it anyways.
db
-
Jun 11th, 2003, 08:39 AM
#4
Sleep mode
lol...The links messed up . sorry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|