Click here to Skip to main content
15,913,467 members
Home / Discussions / C#
   

C#

 
GeneralC# singleton Pin
Steve Severance5-Feb-02 8:10
Steve Severance5-Feb-02 8:10 
GeneralRe: C# singleton Pin
Fazlul Kabir5-Feb-02 8:20
Fazlul Kabir5-Feb-02 8:20 
GeneralRe: C# singleton Pin
Odis Wooten10-Mar-02 18:10
Odis Wooten10-Mar-02 18:10 
GeneralXP style controls Pin
5-Feb-02 4:21
suss5-Feb-02 4:21 
GeneralRe: XP style controls Pin
Mazdak5-Feb-02 5:26
Mazdak5-Feb-02 5:26 
GeneralRe: XP style controls Pin
5-Feb-02 6:25
suss5-Feb-02 6:25 
GeneralRe: XP style controls Pin
Mazdak5-Feb-02 8:52
Mazdak5-Feb-02 8:52 
GeneralRe: XP style controls Pin
James T. Johnson5-Feb-02 17:40
James T. Johnson5-Feb-02 17:40 
In order to enable the XP Style controls you need to include a manifest either as a resource or as a separate file.

The manifest is nothing more than an xml document Smile | :)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
processorArchitecture="x86"
version="5.1.0.0"
type="win32"
name="myapp.exe"/>
<description>your application description</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly>

(manifest taken from Colin's VMTU since I can't find mine here)

If the manifest is included as a separate file (the easiest way to do it), it should be named myapp.exe.manifest

I can't remember the steps off hand for putting the manifest in the resource, i think resgenx was the command that was used to generate the resource, then you include the resource with the compiler.

HTH,

James

Sonork ID: 100.11138 - Hasaki
<small>"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. Big Grin | :-D " - Michael P Butler Jan. 18, 2002</small>
GeneralRe: XP style controls Pin
James T. Johnson5-Feb-02 19:38
James T. Johnson5-Feb-02 19:38 
GeneralRe: XP style controls Pin
6-Feb-02 0:31
suss6-Feb-02 0:31 
Questionhow to get the address of a managed type Pin
5-Feb-02 3:31
suss5-Feb-02 3:31 
AnswerRe: how to get the address of a managed type Pin
Peter Stephens5-Feb-02 7:16
Peter Stephens5-Feb-02 7:16 
QuestionWhich C# version to use? Pin
Travis D. Mathison4-Feb-02 21:48
Travis D. Mathison4-Feb-02 21:48 
AnswerRe: Which C# version to use? Pin
Mazdak4-Feb-02 23:01
Mazdak4-Feb-02 23:01 
GeneralRe: Which C# version to use? Pin
Travis D. Mathison4-Feb-02 23:06
Travis D. Mathison4-Feb-02 23:06 
GeneralRe: Which C# version to use? Pin
Mazdak5-Feb-02 1:46
Mazdak5-Feb-02 1:46 
GeneralUse win32 DLL with C# Pin
4-Feb-02 2:42
suss4-Feb-02 2:42 
Generalprinting Pin
Mazdak3-Feb-02 5:11
Mazdak3-Feb-02 5:11 
Generaltextbox size change! Pin
Mazdak31-Jan-02 22:51
Mazdak31-Jan-02 22:51 
GeneralRe: textbox size change! Pin
James T. Johnson1-Feb-02 11:35
James T. Johnson1-Feb-02 11:35 
GeneralRe: textbox size change! Pin
Mazdak1-Feb-02 19:42
Mazdak1-Feb-02 19:42 
GeneralRe: textbox size change! Pin
James T. Johnson2-Feb-02 1:55
James T. Johnson2-Feb-02 1:55 
GeneralRe: textbox size change! Pin
Mazdak2-Feb-02 2:17
Mazdak2-Feb-02 2:17 
Questiona public class... for what? Pin
Rickard Andersson2031-Jan-02 22:41
Rickard Andersson2031-Jan-02 22:41 
AnswerRe: a public class... for what? Pin
Peter Stephens1-Feb-02 8:06
Peter Stephens1-Feb-02 8:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.