Link to home
Start Free TrialLog in
Avatar of Canon
Canon

asked on

Registry Refresh 257 Points

I am submitting this question again as the link to microsoft didn't answer my question. I am offering some serious points this time so please don't link me this time. I would like some sample code if this is possible.
Here is the question:
Why do some systems write to the registry and act on this immediately,
while others have to be rebooted ? I have a windows95 system and a windows98
system. When i write to the registry expecting a result with the 95 it is immediate in writing and then does what it is supposed to instantly, but i have to reboot to get the same results with the 98. It will write to the registry in 98 immediately but won't act on this until rebooted. Is this the system itself or the windows version ?
If there is a way to make the 98 system act as the 95 by forcing something like a refresh or whatever then i am would appreciate knowing how using visual basic 5.0
Thanks
canon
Avatar of KDivad
KDivad

I think the API SendMessage with the parameter WININISETTINGSCHANGE (or something like that) may help. The problem is (in part) that some apps (including Explorer) don't recheck the settings each time they execute a command. In Win98, tweaking the registry to eliminate the context menu is immediate, but turning it back on requires reboot.

It's not much, but I hope this helps some.
Avatar of Canon

ASKER

Morning Kdivad:) You are right about the registry being written immediately, but then requires a reboot.
I will wait for more information on the "API SendMessage with the parameter
WININISETTINGSCHANGE" that you have made a reference to.
If you find this information for the complete idiot in your archives i will gladly give it a try. I will try anything to keep from having to reboot each time !
Thanks for the comment !
Canon
I can't find it (which only means that I have misnamed the parameter), but I wish you luck!
Avatar of Canon

ASKER

Kdivad nooooooo problem. This is the experts exchange and someone must have ran across this problem before right? Thanks for the input !
Canon
ASKER CERTIFIED SOLUTION
Avatar of Belatucadros
Belatucadros

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I doubt you'll mind, but I meant "their" instead of "they're" ;)
Avatar of Canon

ASKER

Hey, it works better than what i had. Thank You !
Canon
Hey, if you find a way for the icons to stay in the systray do you mind telling me? :) Same goes to you, if I find it I'll get in touch.
anachronoxz@hotmail.com