Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows / Win7

Getting Vista Style after importing old project to VS2010

4.00/5 (1 vote)
22 Apr 2010CPOL 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)