Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Registry database updating

Posted on 1997-12-10
2
Medium Priority
?
177 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 100 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

963 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