Re: Rick Francken...Registry problems...
From: Benny (benny_at_boeskovdata.dk)
Date: 03/17/05
- Previous message: Stark: "Re: Oh. no! The same debug problem again!"
- In reply to: Rick Francken: "Re: Registry problems..."
- Next in thread: Rick Francken: "Re: Rick Francken...Registry problems..."
- Reply: Rick Francken: "Re: Rick Francken...Registry problems..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Mar 2005 20:02:22 +0100
Rick Francken wrote:
> Try passing the keyname argument without the '\' in front of Software.
>
> var
> reg: TRegistry;
> begin
> reg:= TRegistry.Create;
> try
> reg.RootKey:= HKEY_CURRENT_USER;
> if reg.SaveKey('Software\Microsoft\Internet Account
> Manager\Accounts\00000001',
> 'TestRegFile.tst') then
> begin
> ShowMessage('Done');
> end;
> finally
> reg.Free;
> end;
> end;
>
>
>
>>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...
>
>
>> if S.SaveKey('\Software\Microsoft\Internet Account
>>Manager\Accounts\00000001','TestRegFile.tst') then
>>
>
>
>
I didn't help. It creates an empty file. Even if i delete the file it
just makes a new empty one...
- Previous message: Stark: "Re: Oh. no! The same debug problem again!"
- In reply to: Rick Francken: "Re: Registry problems..."
- Next in thread: Rick Francken: "Re: Rick Francken...Registry problems..."
- Reply: Rick Francken: "Re: Rick Francken...Registry problems..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|