Full Version: Change Your Programs's Style To XP Style With Embed Manifests
Dream.In.Code > Programming Tutorials > Windows Tutorials
PhysicsRules
This tutorial is very easy. Everyone can do it. Download VB XP-Vista Style.zip, read instructions or read detailed description.

Detailed Description:

1.You must have Resource Hacker Download It!
2.And you need a manifest. Some manifests don't work. You can use my working manifest. (Working.manifest aleready in zip file)
Open a notepad copy and paste the code. There is no need to change extension. So, use untitled.txt or untitled.manifest smile.gif
Manifest Code:
CODE

<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
    processorArchitecture="x86"
    version="5.1.0.0"
    type="win32"
    name="SampleApplication"
/>
<description>An Application</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            
name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            
publicKeyToken="6595b64144ccf1df"
            language="*"
            processorArchitecture="x86"
        />
    </dependentAssembly>
</dependency>

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
        <requestedPrivileges>
            <requestedExecutionLevel level="asInvoker"
uiAccess="false"/>
        </requestedPrivileges>
    </security>
</trustInfo>

</assembly>

3.Run Resource Hacker. Then push Ctrl+O. Search and double click your program. Click Action>Add a new Resource... Then click "Open file with new resource..." button. Select manifest. Options:
Resource Type: 24
Resource Name: 1
Resource Language: 1033
Click "Add Resource"
You're Done! biggrin.gif wink2.gif
jacobjordan
Great tutorial, but i hate to say that this forum is for programming questions only. Why don't you submit this tutorial in the Visual Basic Tutorial section, that way you can get some kudos for it (kudos are points you earn when you submit tutorials or snippets).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.