Results 1 to 5 of 5

  1. #1
    moria
    Guest

    Default Win8- change current theme programmatically (c#)

    Hi,

    I'm trying to change current theme programmatically (c#).

    I tried 2 option (thata didn't worked):

    option 1:

    Process p = new Process();
    p.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;
    p.StartInfo.FileName = themePath;
    p.Start();


    problem: personalization window is open => theme is selected and applied BUT personalization window stays open.... if i try to close it (kill process p), then the theme is not being applied...

    option2:

    var thReg = Registry.CurrentUser.OpenSubKey("Software\\Microso ft\\Windows\\CurrentVersion\\Themes", true);
    thReg.SetValue("CurrentTheme", themePath);


    problem: registry key is being set to the correct value BUT theme is not applied...



    Any idea..?

    tnx!!

    Moria

  2. #2
    tomsjudee
    Guest

    Default Re: Win8- change current theme programmatically (c#)

    Windows 8 defined a content-driven experience where your data represents the core value of your apps. To achieve this goal, Windows 8 apps commands and calls to action are separated from content. They are placed in the application bar, a concept introduced with Windows Phone 7 which consists of grouping commands into a single bar.

  3. Windows 8 Forums Ads
    Join Date
    Mar 2012
    Posts
    1,222

  4. #3
    Senior Member TechnoMage's Avatar
    Join Date
    Mar 2012
    Location
    Central Florida, USA
    Posts
    2,017

    Cool Re: Win8- change current theme programmatically (c#)

    I change Themes all the time on Windows 8 or 8.1
    I have several of them saved on a Flash Drive, so I can install them on other PC's.

    I just right click on my Desktop, then click on 'Personalize' and the screen where you can change or add themes pops up. You even have a button there where you can download additional Themes.

    I have about five different and very colorful themes that I've downloaded for this Windows 8.1 setup.

    Unless your Windows is broken, this should work just as easily for you.

    Good Luck and Happy Holidays!

    A man with experience is never at the mercy of a man with an argument.
    Backup! Backup! Backup! Ghost rocks!

  5. #4
    Senior Member TechnoMage's Avatar
    Join Date
    Mar 2012
    Location
    Central Florida, USA
    Posts
    2,017

    Default Re: Win8- change current theme programmatically (c#)

    I love the City Lights Theme and set it to change every 3 minutes. Keeps this old boy from getting bored!!!!

    A man with experience is never at the mercy of a man with an argument.
    Backup! Backup! Backup! Ghost rocks!

  6. #5
    Senior Member TechnoMage's Avatar
    Join Date
    Mar 2012
    Location
    Central Florida, USA
    Posts
    2,017

    Default Re: Win8- change current theme programmatically (c#)

    Has anyone noticed.....the OP never came back to this thread in 12 months?

    And there is one post in this thread that is just jibberish. ???

    Mod.... please close this thread or at least delete the nonsense post.
    I would, but I can't, so I won't.

    TM
    A man with experience is never at the mercy of a man with an argument.
    Backup! Backup! Backup! Ghost rocks!

Thread: Win8- change current theme programmatically (c#) - Windows 8

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Featured Pages:    Windows 8 | Windows 8 Forum | Windows 8 Install | Windows 8 Error | Windows 8 Download | Windows 8 System Requirements | Windows 8 Themes | Windows 8 Key | Windows 8 Drivers| Windows 8 Security | Windows 8 Hardware | Windows 8 Networking | Windows 8 Performance | Windows 8 Sound | Windows 8 Software | Windows 8 Tutorials | Windows 8 Virtualization Virtual Desktop Windows 8 | Windows 8 Registry | Windows 8 Backup | Windows 8 Recovery | Windows 8 Restore | Windows 8 Firewall | Windows 8 Aero Theme | Windows 8 Blue Screen | Windows 8 Activation| SEO by WebProfits