Hello Folks,
I need to change the theme of the Windows Operating System on which the application will run. I have to use the files with .theme extension. Can anyone guide how to do this, so I can finish my application.
Thanks in advance.
Regards
Printable View
Hello Folks,
I need to change the theme of the Windows Operating System on which the application will run. I have to use the files with .theme extension. Can anyone guide how to do this, so I can finish my application.
Thanks in advance.
Regards
Is your problem that you have a .msstyles file, but need it to be a theme file?
You can create a theme file with the OS itself.
First enable the msstyles file to display the theme.
Then right click desktop(properties), and use the Save As button, to save your current theme as .theme, instead of .msstyles
No, actually Ive already read the article about using .msstyles file but I want to use the .theme files as well in my project. Is there any way to change the theme of the operating system using .theme file in VB .Net project?
I thought TT mentioned that already. NO
Sorry.. might be a little redundant :(
Thanks for your patience.
Is there no way, we can use the .theme file in VB .Net project? Neither any APIs nor any references?
I don't think so. Besides, it only would work with one OS or another
Thank you for your help sir and your patience as well :)
Vista and Win 7 use different theme files than xp.
There may be some obscure way to do it, I don't think so.
You can probably use the ShellExecute API or Process component, and then set the dialog for new theme, manually or through automation with a couple clicks.
I took a look at SetWindowTheme API, which applies only to the application I believe, and allows you to show an app with a specific themed style, but that doesn't help you. Sorry
EDIT: .theme files can be opened and read with notepad(or FileOpen etc)
XP Path: C:\WINDOWS\Resources\Themes
You could use this information, to modify the different OS settings to match the theme.