Re: Permissions prob writing to Reg
From: Terry Holland (tholland_at_sgbgb.co.uk)
Date: 03/10/04
- Next message: Bob Butler: "Re: listview selecting/clearing row - newbie question"
- Previous message: Andy: "Re: VB6 MSHFlexGrid and Mouse"
- In reply to: Ralph: "Re: Permissions prob writing to Reg"
- Next in thread: Ralph: "Re: Permissions prob writing to Reg"
- Reply: Ralph: "Re: Permissions prob writing to Reg"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Mar 2004 14:15:15 -0000
Ok
So if there are application specific values that all users of the system
need read/write access on (and these values need to be in the registry - for
reasons that would take too long to explain), where would be the best place
for them?
If this is in Current_User how do I get the keys to be in Current_User for
all users?
tia
"Ralph" <nt_consulting32@hotmail.com> wrote in message
news:ktednQZ5M6JURtDdRVn-uQ@arkansas.net...
>
> "Terry Holland" <tholland@sgbgb.co.uk> wrote in message
> news:umzdSwcBEHA.4080@TK2MSFTNGP09.phx.gbl...
> > I have an app that reads & write to
> > [HKEY_LOCAL_MACHINE\SOFTWARE\MyCompany\MyApp] in the registry. On my
> > development machine this is fine as I am in the Local Administrators
> group,
> > but the users of the application get permission error when attempting to
> > write to this key (they are in Users group). How do I overcome this?
> >
> > tia
> >
> > Terry Holland
> >
>
> Either give users Admin or write priviledges to this key (which is
something
> I hope your Admin will not allow) or don't use the HKEY_LOCAL_MACHINE hive
> for writes. Use the HKEY_CURRENT_USER.
>
> I you have a large number of reads and writes, use a separate .ini/config
> file and place it in the %AllUsers Profile%/ApplicationData folder,
> %UserProfile%/Application Data, %ProgramFiles%/Common Files, ...
>
> hth
> -ralph
>
>
- Next message: Bob Butler: "Re: listview selecting/clearing row - newbie question"
- Previous message: Andy: "Re: VB6 MSHFlexGrid and Mouse"
- In reply to: Ralph: "Re: Permissions prob writing to Reg"
- Next in thread: Ralph: "Re: Permissions prob writing to Reg"
- Reply: Ralph: "Re: Permissions prob writing to Reg"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|