Hi all. C# program that I work on must change default windows desktop folder, but I need to restart system each time to apply registry changes. Restarting explorer.exe works for me but it is not "beatiful" and fast solution i think. Other solutions that i could found (sendidg broadcast WM_SETTINGCHANGE message and invoking "RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True") doesn't work. Any help in resolving this will be much appreciated. And also if it can be done only by restarting explorer.exe, how to start it without showing explorer window?
P.S. Sorry if it is not suitable forum for this question, but list of available forums has been changed and I cold not found any forums about windows registry or windows api.
Moved bySachinWWednesday, June 10, 2009 9:39 PMoff topic (From:Social Bookmarks Discussion Forum)