🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: microsoft.public.vc.language
2 messages
2 total messages Started by Michael Bosco Wed, 18 Aug 1999 00:00
refresh registry
#28
Author: Michael Bosco
Date: Wed, 18 Aug 1999 00:00
10 lines
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
Re: refresh registry
#27
Author: Robert Scott
Date: Thu, 19 Aug 1999 00:00
17 lines
1621 bytes
On Wed, 18 Aug 1999 21:46:49 -0400, Michael Bosco
<mikeb@comprisetechnologies.com> wrote:

>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...

The registry itself is updated as soon as you make your changes.
The "refreshing" you are referring to is not something the
registry does but is something an app does when it reads the
settings.  What it takes to make that app re-read the registry
depends on the app.


Bob Scott
Ann Arbor, Michigan (email:  rscott (at) wwnet (dot) net       )
(My automatic return address is intentionally invalid.)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads