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

Checking admin rights on registry?

P: n/a
Hi folks!

I'm trying to develop a system that will allow users to keep preference
settings in the registry. Is there any way to detect if the user has rights
to write to the registry without error trapping?

Thanks!
Nov 25 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If you use the built in savesetting/getsetting functions the user can always
write to the registry.

The restriction with these is that they can only write to HKCU/Software/VB
and VBA Program Settings/ but as you are saving user preferences this is
the correct place to do it anyway.

--
Terry Kreft

"Jozef" <me@you.com> wrote in message news:wBuhf.168077$Io.19697@clgrps13...
Hi folks!

I'm trying to develop a system that will allow users to keep preference
settings in the registry. Is there any way to detect if the user has
rights to write to the registry without error trapping?

Thanks!

Nov 25 '05 #2

P: n/a
Thanks Terry!

That's what I'm doing now, but didn't realize that it was always accessible.

Thanks Again!

"Terry Kreft" <te*********@mps.co.uk> wrote in message
news:a4********************@karoo.co.uk...
If you use the built in savesetting/getsetting functions the user can
always write to the registry.

The restriction with these is that they can only write to HKCU/Software/VB
and VBA Program Settings/ but as you are saving user preferences this is
the correct place to do it anyway.

--
Terry Kreft

"Jozef" <me@you.com> wrote in message
news:wBuhf.168077$Io.19697@clgrps13...
Hi folks!

I'm trying to develop a system that will allow users to keep preference
settings in the registry. Is there any way to detect if the user has
rights to write to the registry without error trapping?

Thanks!


Nov 26 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.