🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Refresh Windows Registry

#6877
From: JD
Date: Sun, 10 Apr 2005 18:08
14 lines
1130 bytes
"Grety" <valid@emailaddress.com> wrote:
>
> [...]
>   MyReg->OpenKey("somewhere",true);
>   MyReg->WriteString("1",Edit1->Text);
>//   MyReg->Refresh

Try closing the key and reopening it:

    MyReg->CloseKey();
    MyReg->OpenKey( "somewhere", false );

~ JD
Technical Details
Message-ID: <42595da1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42594bd9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e6e3b9d83755cc0d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Refresh Windows Registry
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.146.227.66     
References:  <42594bd9@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <42595da1@newsgroups.borland.com>
Date: 10 Apr 2005 10:08:49 -0800
X-Trace: newsgroups.borland.com 1113152929 207.105.83.66 (10 Apr 2005 10:08:49 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail