XP环境下,PB11程序在开发环境下运行,那些按钮,CheckBox都比较漂亮,但编译好运行怎么又回到那种老的面孔了?
------解决方案--------------------
补上.manifest 格式文件就可以了
如你的PB编译出A.EXE文件,你就把.manifest 改为a.exe.manifest
新建一个a.exe.manifest 把以下内容复制到进去就行了
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="CompanyName.ProductName.YourApp"
type="win32"
/>
<description>Your application description here.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>