PDA

View Full Version : Win8- change current theme programmatically (c#)



moria
01-07-2013, 01:14 AM
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\\Microsoft\\Windows\\CurrentVersion\\Them es", true);
thReg.SetValue("CurrentTheme", themePath);


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



Any idea..?

tnx!!

Moria

tomsjudee
12-14-2013, 03:20 AM
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.

TechnoMage
12-14-2013, 08:23 AM
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!

:cool:

TechnoMage
12-14-2013, 01:31 PM
I love the City Lights Theme and set it to change every 3 minutes. Keeps this old boy from getting bored!!!!

:cool:

TechnoMage
12-15-2013, 06:02 AM
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 :cool: