Solved

Registry database updating

Posted on 1997-12-10
2
172 Views
Last Modified: 2013-12-03
If I change registry database contents by using functions like RegSetValue what should I do to force changes take effect. I tried RegFlushKey with one of predefined reserved handle values (HKEY_LOCAL_MACHINE) as an argument, but there was no effect.
0
Comment
Question by:alexsxds
  • 2
2 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 1409348
The data will be stored in the registry after you either do a RegCloseKey on the key you have open for write, or after you call the RegFlush or RegFlushKey.  Now if you question has to do with applications that use values stored in the registry, then there is no good answer.  Each application reads it's data from the registry when it was designed to.
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1409349
Can you please explain why you believe that the answer above is wrong?  I continue to stand behind it.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now