Solved

Registry database updating

Posted on 1997-12-10
2
170 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
Comment Utility
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
Comment Utility
Can you please explain why you believe that the answer above is wrong?  I continue to stand behind it.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

763 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

10 Experts available now in Live!

Get 1:1 Help Now