Article View: microsoft.public.vc.language
Article #28refresh registry
From: Michael Bosco
Date: Wed, 18 Aug 1999 00:00
Date: Wed, 18 Aug 1999 00:00
10 lines
1349 bytes
1349 bytes
Hi. My program is making changes to the registry that I need to take effect right away. In order to make the changes happen immediately and not at the next log in, I try to refresh the registry by posting a quit message to the program manager. This closes the shell. I then execute explorer.exe which restarts the shell. Now all the settings in the registry are read back in. This works most of the time, but sometimes it makes the computer unstable and it crashes. Has anyone had any success using this method, or know a different method? Any help will be greatly appreciated. Thanks. Mike
Technical Details
Message-ID:
<37BB6209.533B6884@comprisetechnologies.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dfb,3f596b070f32e5f6,start X-Google-Attributes: gid113dfb,public X-Google-Thread: 1091e5,3f596b070f32e5f6,start X-Google-Attributes: gid1091e5,public X-Google-Thread: f7a51,3f596b070f32e5f6,start X-Google-Attributes: gidf7a51,public From: Michael Bosco <mikeb@comprisetechnologies.com> Subject: refresh registry Date: 1999/08/18 Message-ID: <37BB6209.533B6884@comprisetechnologies.com> X-Deja-AN: 514509050 Content-Transfer-Encoding: 7bit Organization: Monmouth Internet X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: microsoft.public.vc.language,comp.os.ms-windows.programmer.win32,borland.public.delphi.winapi