Re: Registry problems...
From: Rick Francken (rick_at_example.com)
Date: 03/17/05
- Next message: B.r.K.o.N.j.A.: "Strange problem"
- Previous message: dougcl_at_gmail.com: "Need user's to log in to my app. Can I use NT domain authentication?"
- In reply to: Benny: "Re: Registry problems..."
- Next in thread: Benny: "Re: Rick Francken...Registry problems..."
- Reply: Benny: "Re: Rick Francken...Registry problems..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Mar 2005 12:25:47 -0500
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
>
- Next message: B.r.K.o.N.j.A.: "Strange problem"
- Previous message: dougcl_at_gmail.com: "Need user's to log in to my app. Can I use NT domain authentication?"
- In reply to: Benny: "Re: Registry problems..."
- Next in thread: Benny: "Re: Rick Francken...Registry problems..."
- Reply: Benny: "Re: Rick Francken...Registry problems..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|