Click here to Skip to main content
Licence 
First Posted 22 Dec 2002
Views 101,795
Bookmarked 31 times

VC6 with XP look

By | 22 Dec 2002 | Article
How to make VC6 look a little more XP

Sample Image - VC-2K.jpg

Introduction

By default Microsoft Visual C++ V6 when running under Windows XP manages a half-hearted XP look. In theory it shouldn't really have any XP look, but somehow bits seem to acquire it by magic.

So, I decided if I could make all (or most) of VC appear in the new look. And overall, I have. Note the correct scrollbars, search combobox, and dialog box controls

VC WinXP

As many of you will know, the way to make a program XP aware is to include a manifest resource in each .EXE or .DLL, but another way to achieve this is merely to add a manifest file to the same directory as the program (or DLL) named exactly the same as the file, but with .manifest appended to it.

e.g.
	Program Filename		Manifest Filename
	----------------		----------------------
	myprogram.exe		myprogram.exe.manifest
	mysupport.dll		mysupport.dll.manifest
	

The manifest file I have used is fairly standard:

&lt?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt 
&ltassembly 
   xmlns="urn:schemas-microsoft-com:asm.v1" 
   manifestVersion="1.0"&gt
	&ltassemblyIdentity 
    processorArchitecture="x86" 
    version="5.1.0.0"
    type="win32"
    name="test.exe"/&gt
    &ltdescription&gtTest Application&lt/description&gt
    &ltdependency&gt
    &ltdependentAssembly&gt
    &ltassemblyIdentity
         type="win32"
         name="Microsoft.Windows.Common-Controls"
         version="6.0.0.0"
         publicKeyToken="6595b64144ccf1df"
         language="*"
         processorArchitecture="x86"/&gt
    &lt/dependentAssembly&gt
    &lt/dependency&gt
&lt/assembly&gt

The only thing left to do is explain how to make it work!

Download the VC-XP_src.zip file (at the top of the page) and extract it to:

C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
of course you may need to change this if you didn't install VC to the default directory/drive. Then, the next time you run VC (MSDEV.EXE), you will get the new look.

Of course, this doesn't actually give any extra features or benefits, it just looks nicer.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

soundman32

Web Developer

United Kingdom United Kingdom

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralXP look for VC++ projects Pinmemberansif_pi19:35 29 Apr '08  
QuestionIt's requiered Windows XP? Pinmemberaccarvajal12:08 22 Jul '04  
AnswerRe: It's requiered Windows XP? PinmemberChanwoo15:59 23 Jul '04  
GeneralRichEdit Trouble Pinmemberwswartzendruber13:49 26 Oct '03  
GeneralMistake Pinmemberwswartzendruber14:03 26 Oct '03  
GeneralRe: Mistake PinsussAnonymous14:31 26 Oct '03  
GeneralRe: Mistake Pinmemberwswartzendruber22:42 26 Oct '03  
GeneralRe: Mistake PinmemberSreekanth Muralidharan1:49 21 Dec '05  
Generalnot 100% relevant but, Pinmembersharlila8:40 26 Jun '03  
GeneralSigh PinmemberLordDelacroix8:35 12 Mar '03  
GeneralRe: Sigh Pinmembersoundman3221:26 12 Mar '03  
GeneralNo Luck on my side Pinmemberjunni19:13 30 Dec '02  
GeneralRe: No Luck on my side PineditorJames T. Johnson19:27 30 Dec '02  
GeneralVC6 can't debug static variable on Windows XP PinmemberAlan Wen20:13 24 Dec '02  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberNeville Franks21:00 24 Dec '02  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen21:26 24 Dec '02  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberBernd Runges12:52 10 Jun '04  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen15:26 13 Jun '04  
GeneralRe: VC6 can't debug static variable on Windows XP Pinmemberehaerim10:59 7 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen15:34 7 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP Pinmemberehaerim21:26 7 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen13:39 8 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP PinsussAlan Balkany4:02 16 Jun '04  
GeneralExtremely Cool PinmemberChris Coble10:48 23 Dec '02  
Generalexactly what I did PinmemberPaolo Messina7:33 23 Dec '02  

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

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

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 23 Dec 2002
Article Copyright 2002 by soundman32
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid