65.9K
CodeProject is changing. Read more.
Home

Getting Vista Style after importing old project to VS2010

starIconstarIconstarIconstarIconemptyStarIcon

4.00/5 (1 vote)

Apr 23, 2010

CPOL
viewsIcon

10351

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.