🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6541

Re: Changing Password

#6541
From: Robert H cave
Date: Fri, 29 Apr 2005 13:42
20 lines
1609 bytes
"Hans Galema" <notused@notused.nl> wrote in message 
news:4271fc05$1@newsgroups.borland.com...
> Robert H cave wrote:
>> yes i did it in code
>> and yes i want to change a value in the registry
>
> Then please show the code you used to put a value
> in the registry.
>
> Hans.
Hans
this is the code
AnsiString PassWord = "SCORPIO";

TRegistry *Reg2  = new TRegistry;
Reg2->RootKey=HKEY_CURRENT_USER;
Reg2->OpenKey("\\Software\\MyPasswords",true);
Reg2->WriteString(PassWord,"SCORPIO");
Reg2->CloseKey(); 
Technical Details
Message-ID: <427239b9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4270eca2@newsgroups.borland.com> <4270efb0@newsgroups.borland.com> <42710b54@newsgroups.borland.com> <4271fc05$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8cad184d3c3187d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Robert H cave" <bobhcave@dn75dt.freeserve.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4270eca2@newsgroups.borland.com> <4270efb0@newsgroups.borland.com> <42710b54@newsgroups.borland.com> <4271fc05$1@newsgroups.borland.com>
Subject: Re: Changing Password
Date: Fri, 29 Apr 2005 14:42:48 +0100
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 81.77.43.235
Message-ID: <427239b9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114782137 81.77.43.235 (29 Apr 2005 06:42:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail