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
CanonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KDivadCommented:
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.
0
CanonAuthor Commented:
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
0
KDivadCommented:
I can't find it (which only means that I have misnamed the parameter), but I wish you luck!
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

CanonAuthor Commented:
Kdivad nooooooo problem. This is the experts exchange and someone must have ran across this problem before right? Thanks for the input !
Canon
0
BelatucadrosCommented:
I know what you're talking about, I made a program to get rid of/get back Run, find, recent docs, etc...but it never works right away in win 98, but in win 98 you can force the user to restart explorer without rebooting, although any icons in they're system tray won't be there...(DUN, ICQ, Norton antivirus, etc) the programs will still be running though, if you receive an ICQ message it'll be back in the systray, DUN is a problem though, etiher way, this helps. It might work in win95, but I haven't seen it work as of yet...heh. But you said you only need it for 98, so this should be great ;)
'Here:
Shell ("rundll32 shell32,SHExitWindowsEx -1")
'There ya go! Hope this helps. Happy coding.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BelatucadrosCommented:
I doubt you'll mind, but I meant "their" instead of "they're" ;)
0
CanonAuthor Commented:
Hey, it works better than what i had. Thank You !
Canon
0
BelatucadrosCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.