VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

XP Manifest Inserter

Mick Doherty  (7 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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.

Rate XP Manifest Inserter (6(6 Vote))

Download XP Manifest Inserter

XP Manifest Inserter Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters