XP Style Controls using Manifest
Give your .NET applications an XP style look using a manifest file.
AI
สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
ซอร์สโค้ด
If you want to give your .NET apps an XP look and feel, here's how to do it.<br><br><b>NOTE:</b><i> This will have no effect on non-XP operating systems.</i><br><br><b>Step 1:</b><br>Start notepad and create a file in the application directory using the application's exe name with ".manifest" added to the end. (ex. "yourapp.exe.manifest")<br><br><b>Step 2:</b><br>Paste the following into the file:<br><br><p><?xml version="1.0" encoding="UTF-8" standalone="yes"?><br> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><br> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="APPNAME" type="win32" /><br> <description>ENTER A DESCRIPTION HERE</description><br> <dependency><br> <dependentAssembly><br> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /><br> </dependentAssembly><br> </dependency><br> </assembly> </p><br><i>The above code is also included in the attached zip file.</i><br><br><b>Step 3:</b><br>Change the necessary information, such as "version" "name" and "description" where applicable.<br><br><b>That's it! Make sure you save the file in the same directory as the executable and run your program!</b><br><br><i>This can also be used with VB6, but requires an addition to your code. Do a search for "manifest" in the "Visual Basic" category for more info on this.</i>
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine