Friday, May 1, 2009

Enabling XP Theme in visual basic

You can enable xp theme in visual basic using a manifest file. Basically manifest file is an xml file.
click here to download manifest file.
You can download the file and rename the filename with the name of your exe and placing the file where your executable exists. Then automatically windows enable xp theme for that application. Remember the name of the manifest file should consist of manifest as extension. for eg. your_app_name.exe.manifest

When you use manifest file to enable xp theme in visual basic, there might be some problem using visual basic controls, like when you use radio button inside frame. So it is better to enable xp theme using windows api.
click here to download the sample



No comments: