The scenario is i'm making a small tool which applies themes and general settings without using the display control panel. Think along the lines of Style XP.. only much more simple.
My question is as follows. Using VB6 I want to force a system-wide theme apply. Windows has a built in ability to save all theme settings to .theme file (colours, visual style etc.) using the Display Control Panel. How can i make windows apply, for example C:\MyTheme.Theme.
Shelling the file opens the Display control panel with the theme ready to load, but you have to click 'apply'. This is not adiquate. (nor is sending a key press to apply the theme from that point). So, In a nutshell, i need to use VB6 programming code to apply a '.Theme' file.
Any code or directions which can achieve my goal will be accepted. As a compromise, i will also accept an answer which tells me how to switch visual style from classic to luna, or luna silver. If anyone knows how i can force XP to use its new 'modern' start menu instead of the 'classic' one in VB6 programming code would also be appriciated.
Thankyou in advance,