locked
Applying desktop folder changing without restarting system RRS feed

  • Question

  • 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 s u itable 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 by SachinW Wednesday, June 10, 2009 9:39 PM off topic (From:Social Bookmarks Discussion Forum)
    Tuesday, May 26, 2009 3:50 PM

Answers

  • Hello Shoar,

     

    Thank you for your post!  I would suggest posting your question in the 'Visual C# Developer Center > Visual C# Forums > Visual C# General' located here: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/threads


    Have a great day!

    Thanks!


    SachinW Tier 2 Application Support Server and Tools Online Engineering Live Services Team
    • Proposed as answer by SachinW Monday, June 8, 2009 9:42 PM
    • Marked as answer by SachinW Friday, September 4, 2009 8:12 AM
    Monday, June 8, 2009 9:42 PM