Click here to Skip to main content
15,886,110 members
Articles / Operating Systems / Windows 7
Tip/Trick

Getting Vista Style after importing old project to VS2010

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
22 Apr 2010CPOL 10K   3   1
Many users ask how to get Vista or Windows 7 style dialog windows when they have imported an older project to Visual Studio 2010.To enable this is quite simple, follow the steps.1. With your project loaded, select the project in solution explorer.2. From the 'Project' menu choose...
Many users ask how to get Vista or Windows 7 style dialog windows when they have imported an older project to Visual Studio 2010.

To enable this is quite simple, follow the steps.

1. With your project loaded, select the project in solution explorer.
2. From the 'Project' menu choose 'Properties'.
3. Select 'All Configurations' under 'Configuration' at top of window.
4. Expand the 'Linker' section.
5. Select the 'Manifest File' section.
6. Add the following under 'Additional Manifest Dependencies'
7. "type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'"

(NOTE: item 7 is all one line, pasting it in here split it up.
8. Select 'OK'
9. Rebuild the project.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionNot work in vs2010 Pin
Jason.LYJ21-Jan-14 20:27
professionalJason.LYJ21-Jan-14 20:27 

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.