Click here to Skip to main content
6,630,586 members and growing! (16,118 online)
Email Password   helpLost your password?
General Programming » Macros and Add-ins » DevStudio Add-ins     Intermediate

VC6 with XP look

By soundman32

How to make VC6 look a little more XP
VC6WinXP, Visual Studio, Dev
Posted:22 Dec 2002
Views:86,043
Bookmarked:26 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
34 votes for this article.
Popularity: 5.72 Rating: 3.74 out of 5
3 votes, 8.8%
1
3 votes, 8.8%
2
4 votes, 11.8%
3
9 votes, 26.5%
4
15 votes, 44.1%
5

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


Member

Occupation: Web Developer
Location: United Kingdom United Kingdom

Other popular Macros and Add-ins articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 30 (Total in Forum: 30) (Refresh)FirstPrevNext
GeneralXP look for VC++ projects Pinmemberansif_pi20:35 29 Apr '08  
GeneralIt's requiered Windows XP? Pinmemberaccarvajal13:08 22 Jul '04  
GeneralRe: It's requiered Windows XP? PinmemberChanwoo16:59 23 Jul '04  
GeneralRichEdit Trouble Pinmemberwswartzendruber14:49 26 Oct '03  
GeneralMistake Pinmemberwswartzendruber15:03 26 Oct '03  
GeneralRe: Mistake PinsussAnonymous15:31 26 Oct '03  
GeneralRe: Mistake Pinmemberwswartzendruber23:42 26 Oct '03  
GeneralRe: Mistake PinmemberSreekanth Muralidharan2:49 21 Dec '05  
Generalnot 100% relevant but, Pinmembersharlila9:40 26 Jun '03  
GeneralSigh PinmemberLordDelacroix9:35 12 Mar '03  
GeneralRe: Sigh Pinmembersoundman3222:26 12 Mar '03  
GeneralNo Luck on my side Pinmemberjunni20:13 30 Dec '02  
GeneralRe: No Luck on my side PineditorJames T. Johnson20:27 30 Dec '02  
GeneralVC6 can't debug static variable on Windows XP PinmemberAlan Wen21:13 24 Dec '02  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberNeville Franks22:00 24 Dec '02  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen22:26 24 Dec '02  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberBernd Runges13:52 10 Jun '04  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen16:26 13 Jun '04  
GeneralRe: VC6 can't debug static variable on Windows XP Pinmemberehaerim11:59 7 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen16:34 7 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP Pinmemberehaerim22:26 7 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP PinmemberAlan Wen14:39 8 Sep '09  
GeneralRe: VC6 can't debug static variable on Windows XP PinsussAlan Balkany5:02 16 Jun '04  
GeneralExtremely Cool PinmemberChris Coble11:48 23 Dec '02  
Generalexactly what I did PinmemberPaolo Messina8:33 23 Dec '02  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 22 Dec 2002
Editor: Barry Lapthorn
Copyright 2002 by soundman32
Everything else Copyright © CodeProject, 1999-2009
Web22 | Advertise on the Code Project