CSharp/C# >> XP look and feel in C# app

by avanti » Thu, 25 Jan 2007 06:48:48 GMT


I want to have XP style controls in my C# app. I created the manifest
file in my app folder that looks like this.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
<description>Your app description here</description>

When I try to build, I get an error:

Error 14 Could not find file 'Microsoft.Windows.Common-Controls,
Version=, Culture=*, PublicKeyToken=6595b64144ccf1df,
ProcessorArchitecture=X86, Type=win32'. MyApp

I tried adding reference to comctl32.dll and it says the assembly is
not valid. Am I missing something?


CSharp/C# >> XP look and feel in C# app

by DeveloperX » Thu, 25 Jan 2007 07:18:45 GMT

You need EnableVisualStyles if you're in 1.1, I believe this is set in
2 by default.


Similar Threads

1. XP like Look n Feel in Window Application (C#)

Hello Everybody,
I am doing project in which C# is Front-End. Projetc is Desktop Application.
And I want to give XP like Look n Feel to all controls & form of
Application. This look n feel must work on previous edition of Windows Like
I want apply this look n feel to controls loke
DataGrid,Menu etc.
Please help me in this regard.

2. xp look and feel for winforms controls in non xp-based systems - .Net Framework

3. XP Look and feel in VSC#.NET

How can I get the Win XP look and feel in Visual Studio C# .NET? I have
tried the MSDN example with the manifest file, but it doesn't seem
to help.

4. Windows XP look n Feel - CSharp/C#

5. Getting XP Style look and feel

How do i get XP Style look and feel for Controls in C# 
window application. All the controls i am using are Custum 
controls designed by inheriting .NET Common controls.

6. Win XP look n Feel for Menus,Toolbars - CSharp/C#

7. XP Look And Feel in VSC++6 and VSC++.NET

How can I get the Windows XP look and feel in Visual Studio C++ 6 and
in Visual Studio C++ .NET?