473,416 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Checking admin rights on registry?

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
2 2985
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: andrea kampa | last post by:
Hi all, I'm a Win2000 professional user - sP 4. I can't delete some folders in e:\inetpub\wwwroot\...\. I've created them by FrontPage2000 SR1. I enter Windows as Administrator, then I should be...
1
by: Tom I | last post by:
I am interested if anyone can point me to "best practices" regarding the level of administrative authority a SQL Server database administrator should have. Alternatively, I'd be interested hearing...
1
by: Stephan Neuhaus | last post by:
Hi all. I'm having a problem that's driving me nuts. I am not familiar with Access, but I have read the FAQ, searched google, read the Access Security FAQ, and looked at the Access Web, to no...
2
by: tooper | last post by:
Hello, I'm failing to register a python based COM component without having admin rights... Using the usual hello world COM server that exist in many books/tutorial, and works perfecty when...
3
by: jonefer | last post by:
How can I lookup registry values? I'd like to check for the existence of this folder in the registry: HKLM\Software\AcmeCompany\MWIApplications\AutoLogonForSharedWorkstations so that I can use...
0
by: Rollasoc | last post by:
Hi, I have an ATL DLL that is linked to 10 libraries. (Using VS2005). The DLL and libraries are all ported from Linux, so we had little control over the dependencies. It compiles ok, it...
3
by: dianedebuda | last post by:
Using only Access 97. Need to run as admin in order to use Tool /Compact, etc. Tried Allen Browne's suggestion about registry hack meant for multiple versions of Access, but doesn't seem to work...
0
by: Hughe Jass | last post by:
I currently have a user that's using DB2 without Admin rights to his local computer (XP SP2) and he gets an error message while trying to connect to a server. When I give him admin rights, he...
7
by: buzzluck68 | last post by:
Hello, I have an in house application that we developed, but everyone who needs to use the program are not allowed to be local admins on their PCs. I was wondering if there was a way to code...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.