Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Registry database updating

Posted on 1997-12-10
2
Medium Priority
?
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

715 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