Search Tools Links Login

XP Manifest Inserter


Windows XP ships with Common Controls version 5 and version 6. By default all windows apps use version 5. In order to force your app to use version 6 your application must have a manifest. It must also correctly call InitCommonControls().
A manifest is a text file with an xml script similar to this:
------------------------------------------------------------------------------


version="1.0.0.0"
processorArchitecture="X86"
name="Your.App.Name"
type="win32"
/>
Your App Description


type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>



------------------------------------------------------------------------------
If your application is called 'MyApp.exe' then in the same directory you must have a manifest file called 'MyApp.exe.manifest' otherwise WinXP will use common controls v5.
Instead of having a seperate manifest file, this project inserts the manifest into the executable file, and therefore, safeguards the manifest file from deletion or corruption.

Original Author: Mick Doherty

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 107 times

Categories

Visual Basic 6

Attachments

XP_Manifes4341912212001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 34,522 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.