|
-
Mar 16th, 2004, 09:29 AM
#1
Thread Starter
Fanatic Member
User Defined GetSetting & SaveSetting
Hello,
I'm trying to use the registry, to store my apps settings. I want the settings to be the same for all users, but keep track of details like last run and number of files executed etc..
I've defined my own functions, which store under Local_Machine as opposed to Current_User. These work until someone logs in without administrative privileges, at which point GetSetting works but SaveSetting does not.
Does anyone know how to override the default security settings when making the API Calls?
Any help will be greatly appreciated
Cheers Al
-
Mar 16th, 2004, 09:48 AM
#2
This is a reason that I personally never bother with saving any setting to registry - I use good old INI files. I know many will argue this but let me tell you - INI file technic never fails while registry does and will under circumstances. Besides, registry can be very easily refreshed on every system boot from your LAN using some admin script. Some corps like banks, funds, insurances and some others do enforce this and there is no way arround. Users (regular users) are not allowed to installed anything on their system except for business apps and somethimes they don't even have permissions to copy files over to a local drive.
So, maybe you'll reconsider your current logic. Let me know if yes so I'll post some sample project for you.
Cheers.
-
Mar 16th, 2004, 10:17 AM
#3
Thread Starter
Fanatic Member
RhinoBull,
Thanks someone once mentioned using .inis before. I'd really appreciate an example or two
Many, many thanks
Al
-
Mar 16th, 2004, 11:13 AM
#4
No problem - just open attachments.
-
Mar 16th, 2004, 11:27 AM
#5
Thread Starter
Fanatic Member
RhinoBull,
Great thanks, will definitely use it if I can't get the registry to work in the next day or so.
Cheers Al
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
|