title: VB6 Manifest not working on Windows 7
body: <p>I have created a manifest file for a VB6 application that is running on Windows 7 (not for any visual style changes, just to make sure it accesses the common registry and not a virtualised one)</p>
  
  <p>The exe name is Capadm40.exe, the manifest is named Capadm40.exe.manifest and contains the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt;
    &lt;assemblyIdentity version="1.0.0.0"
       processorArchitecture="X86"
       name="CompanyName.Capadm40"
       type="win32"/&gt;
    &lt;description&gt;Administers the System&lt;/description&gt;
    &lt;!-- Identify the application security requirements. --&gt;
    &lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"&gt;
      &lt;security&gt;
        &lt;requestedPrivileges&gt;
          &lt;requestedExecutionLevel
            level="asInvoker"
            uiAccess="false"/&gt;
          &lt;/requestedPrivileges&gt;
         &lt;/security&gt;
    &lt;/trustInfo&gt;
  &lt;/assembly&gt;
  </code></pre>
  
  <p>However, this doesn't seem to make any difference. ie the application is still using the virtualised registry hive. What is also strange is the after I unticked the 'Run this program as an administrator' option in the properties of the application exe, windows still shows a shield on the application icon, leading my to think this is some issue with my windows installation rather than a fault with the manifest. Any ideas?</p>