Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Windows Operating Systems: Add XP styles to your Clarion application 2002-11-24 -- Benjamin Dell Newsgroups: softvelocity.products.c55ee
The easiest way to add XP styles to your applications:
On Microsoft® Windows® XP, manifest files enable administrators and
applications to manage the sharing of side-by-side assembly versions by
applications after deployment.
To support visual styles, create a manifest resource to your exe or dll. You
must create the manifest into the same folder as the application's
executable file or DLL file.
Below is a sample copy of a manifest file.
The rules are: (for those without MSDN)
1. The manifest file must be the same as the exe or dll file name WITH the
extension, WITH ".manifest" added. ie myfile.dll will have the manifest file
myfile.dll.manifest
2. The manifest file must reside in the same directory as the
application/dll
3. All the XXX in the example below can be replaced with your own
information. Note : name="XXX.XXX.XXX" uniquely names the assembly. Use the
following format for the name: Organization.Division.Name. For example
Microsoft.Windows.mysampleApp. This is Required.
4. You can send me email if you get stuck, but this is purely on a
as-I-get-time basis that I will answer.
EXAMPLE MANIFEST FILE
<?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="XXX.XXX.XXX"
type="win32"
/>
<description>XXX</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
Kind Regards
Benjamin Dell
bdl@riebens.co.za
www.riebens.co.za
Today is November 21, 2024, 4:00 am This article has been viewed 35310 times. Google search has resulted in 263 hits on this article since January 25, 2004.
|
|