Article View: borland.public.cppbuilder.nativeapi
Article #6875Refresh Windows Registry
From: Grety
Date: Mon, 11 Apr 2005 03:20
Date: Mon, 11 Apr 2005 03:20
16 lines
1361 bytes
1361 bytes
Hi
I open the Regedit in Win98 for example
do the changes and See :-? Nothing happed, but when I press F5 (Refresh
Button) the changes Apply.
Now I want to know can I programmically do this job, using Refresh()? there
is no Refresh Function in MyReg,
How?
Please tell me if there is a way. thx
BCB5, Win98 or WP
TRegistry *MyReg=new TRegistry();
MyReg->RootKey=HKEY_CURRENT_USER;
MyReg->OpenKey("somewhere",true);
MyReg->WriteString("1",Edit1->Text);
// MyReg->Refresh
delete MyReg;
Technical Details
Message-ID:
<42594bd9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e6e3b9d83755cc0d,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Grety" <valid@emailaddress.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Refresh Windows Registry Date: Mon, 11 Apr 2005 07:50:38 +0430 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 NNTP-Posting-Host: 84.11.38.50 Message-ID: <42594bd9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113148377 84.11.38.50 (10 Apr 2005 08:52:57 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail