Does anybody know how to modify Windows XP appearance and color scheme using VBScript?
I have an application written in Visual C++ that needs Windows XP appearance (not classic) to be properly displayed and I want to set this properties from the Installation.
I use InstallShield to make the installer and VBScript to perform some custom actions. So it would be great if I can create a script in visual basic to change this properties.
What I did was creating a c++ dll that I use as a Custom Action in Install Shield. In this dll I use the uxtheme.dll to set the luna.msstyle file as a theme. This is the function that does the work:
It’s not perfect but it does what I need.
I hope that this can help someone else…if you have any doubt don’t hesitate in asking me.
Cheers.