Re: Registry problems...
From: Benny (benny_at_boeskovdata.dk)
Date: 03/17/05
- Next message: dougcl_at_gmail.com: "Need user's to log in to my app. Can I use NT domain authentication?"
- Previous message: pr: "Re: Oh. no! The same debug problem again!"
- In reply to: Tom de Neef: "Re: Registry problems..."
- Next in thread: Rick Francken: "Re: Registry problems..."
- Reply: Rick Francken: "Re: Registry problems..."
- Reply: Hanford Carr: "Re: Registry problems..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Mar 2005 17:26:39 +0100
Tom de Neef wrote:
> "Benny" <benny@boeskovdata.dk> schreef in bericht
> news:q_9_d.14$Ka6.2@news.get2net.dk...
>
>>Hi'
>>
>>Could someone please tell me whats wrong with this code.
>>
>>-----------------
>>var
>> saveReg: Tregistry;
>>begin
>> SaveReg.RootKey:=HKEY_CURRENT_USER;
>> if SaveReg.SaveKey('\Console','TestRegFile.tst') then begin
>> SaveReg.CloseKey;
>> showmessage('Done');
>> end; //if
>>----------------
>>
>
>
> I would start with saveReg:=Tregistry.create;
> Tom
>
>
Ups, Sorry - New code. But it's still not working. I'm getting an empty
file in my application dir called 'TestFileReg.tst...Please help...
var
s: TRegistry;
begin
S:=Tregistry.Create;
S.RootKey:=HKEY_CURRENT_USER;
if S.SaveKey('\Software\Microsoft\Internet Account
Manager\Accounts\00000001','TestRegFile.tst') then
begin;
showmessage('Done');
end;
S.Free;
end;
- Next message: dougcl_at_gmail.com: "Need user's to log in to my app. Can I use NT domain authentication?"
- Previous message: pr: "Re: Oh. no! The same debug problem again!"
- In reply to: Tom de Neef: "Re: Registry problems..."
- Next in thread: Rick Francken: "Re: Registry problems..."
- Reply: Rick Francken: "Re: Registry problems..."
- Reply: Hanford Carr: "Re: Registry problems..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|